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