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