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