$ git clone -n https://gitee.com/src-opencloudos-rpms/gcc-toolset-12-gcc /var/lib/mock/dist-oc8-gcc-toolset-12-build-38829-12871/root/chroot_tmpdir/scmroot/gcc-toolset-12-gcc Cloning into '/var/lib/mock/dist-oc8-gcc-toolset-12-build-38829-12871/root/chroot_tmpdir/scmroot/gcc-toolset-12-gcc'... $ git reset --hard origin/oc8 HEAD is now at 0641421 import gcc-toolset-12-gcc-12.2.1-7.4.tl3