$ git clone -n https://gitee.com/fundawang/nghttp2.git /var/lib/mock/dist-an23-build-286960-64835/root/chroot_tmpdir/scmroot/nghttp2 Cloning into '/var/lib/mock/dist-an23-build-286960-64835/root/chroot_tmpdir/scmroot/nghttp2'... $ git fetch origin 45918b6897913d8e39dc36147e234c4e0d6d614e:KOJI_FETCH_HEAD From https://gitee.com/fundawang/nghttp2 * [new ref] 45918b6897913d8e39dc36147e234c4e0d6d614e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 45918b6 1.55.1