$ git clone -n https://gitee.com/src-opencloudos-rpms/gcc-toolset-12.git /var/lib/mock/dist-oc8-build-38271-12354/root/chroot_tmpdir/scmroot/gcc-toolset-12 Cloning into '/var/lib/mock/dist-oc8-build-38271-12354/root/chroot_tmpdir/scmroot/gcc-toolset-12'... $ git reset --hard origin/oc8 HEAD is now at 601cc33 import gcc-toolset-12-12.0-6.tl3