$ git clone -n http://8.131.229.236/anolis-os/gtk-doc /var/lib/mock/dist-el8-build-8491-1278/root/chroot_tmpdir/scmroot/gtk-doc Cloning into '/var/lib/mock/dist-el8-build-8491-1278/root/chroot_tmpdir/scmroot/gtk-doc'... $ git reset --hard origin/a8 HEAD is now at 846c6f3 import gtk-doc-1.28-1.el8.src.rpm