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