$ git clone -n https://gitee.com/wenyuzifang/pinentry.git /var/lib/mock/dist-an23-build-448561-73412/root/chroot_tmpdir/scmroot/pinentry Cloning into '/var/lib/mock/dist-an23-build-448561-73412/root/chroot_tmpdir/scmroot/pinentry'... $ git fetch origin e99e80568c884cfc9132713491abaaa13b9bee7a:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/pinentry * [new ref] e99e80568c884cfc9132713491abaaa13b9bee7a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e99e805 Update code from upstream