$ git clone -n https://gitee.com/fundawang/gnupg2.git /var/lib/mock/dist-an23-build-185232-60499/root/chroot_tmpdir/scmroot/gnupg2 Cloning into '/var/lib/mock/dist-an23-build-185232-60499/root/chroot_tmpdir/scmroot/gnupg2'... $ git fetch origin 12ea45a36b1f01b709de0984d4d880b791f3d33f:KOJI_FETCH_HEAD From https://gitee.com/fundawang/gnupg2 * [new ref] 12ea45a36b1f01b709de0984d4d880b791f3d33f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 12ea45a 2.4.0