$ git clone -n http://8.131.229.236/anolis-os/keepalived /var/lib/mock/dist-el8-updates-build-16731-2666/root/chroot_tmpdir/scmroot/keepalived Cloning into '/var/lib/mock/dist-el8-updates-build-16731-2666/root/chroot_tmpdir/scmroot/keepalived'... $ git reset --hard origin/a8 HEAD is now at 3c0f32b update to keepalived-2.0.10-10.el8_2.1.src.rpm