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