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