$ git clone -n https://gitee.com/src-opencloudos-rpms/gcc-toolset-12 /var/lib/mock/dist-oc8-gcc-toolset-12-build-27136-8284/root/chroot_tmpdir/scmroot/gcc-toolset-12 Cloning into '/var/lib/mock/dist-oc8-gcc-toolset-12-build-27136-8284/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