$ git clone -n https://gitee.com/src-opencloudos-rpms/gcc-toolset-12 /var/lib/mock/dist-oc8-build-27125-8264/root/chroot_tmpdir/scmroot/gcc-toolset-12 Cloning into '/var/lib/mock/dist-oc8-build-27125-8264/root/chroot_tmpdir/scmroot/gcc-toolset-12'... $ git reset --hard origin/oc8 HEAD is now at 2ce8b16 import gcc-toolset-12-12.0-5.tl3