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