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