$ git clone -n https://gitee.com/gaohongmei/gpgme.git /var/lib/mock/dist-an8.6-build-195021-60841/root/chroot_tmpdir/scmroot/gpgme Cloning into '/var/lib/mock/dist-an8.6-build-195021-60841/root/chroot_tmpdir/scmroot/gpgme'... $ git fetch origin 65319edd58717e7fffe5d7d0bcc034450d389648:KOJI_FETCH_HEAD From https://gitee.com/gaohongmei/gpgme * [new ref] 65319edd58717e7fffe5d7d0bcc034450d389648 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 65319ed 1.18.0