$ git clone -n https://gitee.com/gcdota930915/haproxy.git /var/lib/mock/dist-an8.7-build-178037-59111/root/chroot_tmpdir/scmroot/haproxy Cloning into '/var/lib/mock/dist-an8.7-build-178037-59111/root/chroot_tmpdir/scmroot/haproxy'... $ git reset --hard origin/a8-poc HEAD is now at 108f992 update to haproxy-2.4.17-3.el9.src.rpm