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