$ git clone -n https://gitee.com/fundawang/nghttp2.git /var/lib/mock/dist-an23-build-312560-67129/root/chroot_tmpdir/scmroot/nghttp2 Cloning into '/var/lib/mock/dist-an23-build-312560-67129/root/chroot_tmpdir/scmroot/nghttp2'... $ git fetch origin 46a0cff75255c6a5aa765ef13117ba4c917c45a9:KOJI_FETCH_HEAD From https://gitee.com/fundawang/nghttp2 * [new ref] 46a0cff75255c6a5aa765ef13117ba4c917c45a9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 46a0cff 1.56.0