$ git clone -n https://gitee.com/src-anolis-os/gcc-toolset-11.git /var/lib/mock/dist-an8.7-build-269772-64112/root/chroot_tmpdir/scmroot/gcc-toolset-11 Cloning into '/var/lib/mock/dist-an8.7-build-269772-64112/root/chroot_tmpdir/scmroot/gcc-toolset-11'... $ git reset --hard origin/a8 HEAD is now at 28e79df update to gcc-toolset-11-11.1-1.el8.src.rpm