$ git clone -n https://gitee.com/fundawang/haproxy.git /var/lib/mock/dist-an23-build-339190-69773/root/chroot_tmpdir/scmroot/haproxy Cloning into '/var/lib/mock/dist-an23-build-339190-69773/root/chroot_tmpdir/scmroot/haproxy'... $ git fetch origin feb2aa23a05ea9626ebdf6b42c7fe3bd9f2e0c2d:KOJI_FETCH_HEAD From https://gitee.com/fundawang/haproxy * [new ref] feb2aa23a05ea9626ebdf6b42c7fe3bd9f2e0c2d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at feb2aa2 2.7.11