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