$ git clone -n https://gitee.com/lizhao2025/haproxy.git /var/lib/mock/dist-an23-build-505886-74854/root/chroot_tmpdir/scmroot/haproxy Cloning into '/var/lib/mock/dist-an23-build-505886-74854/root/chroot_tmpdir/scmroot/haproxy'... $ git fetch origin 78cfdd9357ef21ca877f82e845d77ef09aa394fd:KOJI_FETCH_HEAD From https://gitee.com/lizhao2025/haproxy * [new ref] 78cfdd9357ef21ca877f82e845d77ef09aa394fd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 78cfdd9 Update code from upstream