$ git clone -n https://gitee.com/lxpzero/haproxy.git /var/lib/mock/dist-an23.3-build-414551-72844/root/chroot_tmpdir/scmroot/haproxy Cloning into '/var/lib/mock/dist-an23.3-build-414551-72844/root/chroot_tmpdir/scmroot/haproxy'... $ git fetch origin dd58f51617049ccd200e76794debf804ce5909e0:KOJI_FETCH_HEAD From https://gitee.com/lxpzero/haproxy * [new ref] dd58f51617049ccd200e76794debf804ce5909e0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dd58f51 update to 3.0.5-4