$ whoami root $ git clone -n http://8.131.229.236/anolis-os/gcc-toolset-9-gcc /var/lib/mock/dist-el8-gcc-toolset-9-build-7718-706/root/chroot_tmpdir/scmroot/gcc-toolset-9-gcc Cloning into '/var/lib/mock/dist-el8-gcc-toolset-9-build-7718-706/root/chroot_tmpdir/scmroot/gcc-toolset-9-gcc'... $ git reset --hard origin/a8 HEAD is now at 71dbd99 import gcc-toolset-9-gcc-9.2.1-2.2.el8.src.rpm