$ git clone -n https://gitee.com/src-anolis-os/pinentry.git /var/lib/mock/dist-an23-build-253292-63513/root/chroot_tmpdir/scmroot/pinentry Cloning into '/var/lib/mock/dist-an23-build-253292-63513/root/chroot_tmpdir/scmroot/pinentry'... $ git reset --hard origin/a23 HEAD is now at 36eb03d change spec file format and add doc package