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