$ git clone -n http://8.131.229.236/anolis-os/transfig /var/lib/mock/dist-el8-build-9019-1494/root/chroot_tmpdir/scmroot/transfig Cloning into '/var/lib/mock/dist-el8-build-9019-1494/root/chroot_tmpdir/scmroot/transfig'... $ git reset --hard origin/a8 HEAD is now at ab1fe4e import transfig-3.2.6a-4.el8.src.rpm