$ git clone -n https://gitee.com/fundawang/gnupg2.git /var/lib/mock/dist-an23-build-351061-70784/root/chroot_tmpdir/scmroot/gnupg2 Cloning into '/var/lib/mock/dist-an23-build-351061-70784/root/chroot_tmpdir/scmroot/gnupg2'... $ git fetch origin e60d3c000cc3d422af3670a73eaf7faa60091fcc:KOJI_FETCH_HEAD From https://gitee.com/fundawang/gnupg2 * [new ref] e60d3c000cc3d422af3670a73eaf7faa60091fcc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e60d3c0 2.4.4