$ whoami root $ git clone -n http://8.131.229.236/anolis-os/gcc-toolset-9 /var/lib/mock/dist-el8-build-6184-84/root/chroot_tmpdir/scmroot/gcc-toolset-9 Cloning into '/var/lib/mock/dist-el8-build-6184-84/root/chroot_tmpdir/scmroot/gcc-toolset-9'... $ git reset --hard origin/a8 HEAD is now at 426d462 import gcc-toolset-9-9.0-4.el8.src.rpm