$ git clone -n https://gitee.com/lxpzero/haproxy.git /var/lib/mock/dist-an23.0-build-313089-64688/root/chroot_tmpdir/scmroot/haproxy Cloning into '/var/lib/mock/dist-an23.0-build-313089-64688/root/chroot_tmpdir/scmroot/haproxy'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/lxpzero/haproxy * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1c83885 Update to 2.7.10