$ git clone -n https://gitee.com/src-anolis-os/haproxy.git /var/lib/mock/dist-an23-build-317318-67804/root/chroot_tmpdir/scmroot/haproxy Cloning into '/var/lib/mock/dist-an23-build-317318-67804/root/chroot_tmpdir/scmroot/haproxy'... $ git reset --hard origin/a23 HEAD is now at 546e535 Update to 2.7.10