$ git clone -n https://gitee.com/src-opencloudos-rpms/haproxy.git /var/lib/mock/dist-oc8-build-118699-69684/root/chroot_tmpdir/scmroot/haproxy Cloning into '/var/lib/mock/dist-oc8-build-118699-69684/root/chroot_tmpdir/scmroot/haproxy'... $ git fetch origin e2ad8b2f8a5b36a32319a2c1d1b2647750116d82:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/haproxy * [new ref] e2ad8b2f8a5b36a32319a2c1d1b2647750116d82 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e2ad8b2 import haproxy-1.8.27-5.tl3.1