$ whoami root $ git clone -n http://8.131.229.236/anolis-os/ghostscript /var/lib/mock/dist-el8-build-6219-88/root/chroot_tmpdir/scmroot/ghostscript Cloning into '/var/lib/mock/dist-el8-build-6219-88/root/chroot_tmpdir/scmroot/ghostscript'... $ git reset --hard origin/a8 HEAD is now at 1c0a200 import ghostscript-9.25-5.el8_1.1.src.rpm