$ git clone -n https://gitee.com/src-anolis-os/pinentry.git /var/lib/mock/dist-an8.6-build-184012-60261/root/chroot_tmpdir/scmroot/pinentry Cloning into '/var/lib/mock/dist-an8.6-build-184012-60261/root/chroot_tmpdir/scmroot/pinentry'... $ git fetch origin a8-poc:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/pinentry * [new branch] a8-poc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8759e32 update to pinentry-1.1.1-8.el9.src.rpm