$ git clone -n https://gitee.com/fundawang/haproxy.git /var/lib/mock/dist-an23-build-339169-69773/root/chroot_tmpdir/scmroot/haproxy Cloning into '/var/lib/mock/dist-an23-build-339169-69773/root/chroot_tmpdir/scmroot/haproxy'... $ git reset --hard 5be67a9b456c6b310e2fef598c8162eaa84b8342 HEAD is now at 5be67a9 2.7.11