$ git clone -n https://gitee.com/src-anolis-os/pinentry.git /var/lib/mock/dist-an8.7-build-237869-62522/root/chroot_tmpdir/scmroot/pinentry Cloning into '/var/lib/mock/dist-an8.7-build-237869-62522/root/chroot_tmpdir/scmroot/pinentry'... $ git reset --hard 8759e32226dfba980cdbc72d87b982ea08d8f4e5 HEAD is now at 8759e32 update to pinentry-1.1.1-8.el9.src.rpm