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