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