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