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