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