$ git clone -n http://8.131.229.236/anolis-os/sane-backends /var/lib/mock/dist-el8-updates-build-16554-2666/root/chroot_tmpdir/scmroot/sane-backends Cloning into '/var/lib/mock/dist-el8-updates-build-16554-2666/root/chroot_tmpdir/scmroot/sane-backends'... $ git reset --hard origin/a8 HEAD is now at 012a2d2 update to sane-backends-1.0.27-19.el8_2.1