$ git clone -n https://gitee.com/src-opencloudos-rpms/gcc-toolset-12-gcc /var/lib/mock/dist-oc8-gcc-toolset-12-build-27141-8306/root/chroot_tmpdir/scmroot/gcc-toolset-12-gcc Cloning into '/var/lib/mock/dist-oc8-gcc-toolset-12-build-27141-8306/root/chroot_tmpdir/scmroot/gcc-toolset-12-gcc'... $ git reset --hard origin/oc8 HEAD is now at 55762a6 import gcc-toolset-12-gcc-12.1.1-3.2.tl3