$ git clone -n https://gitee.com/src-anolis-os/gl-manpages.git /var/lib/mock/dist-an23-build-254670-63582/root/chroot_tmpdir/scmroot/gl-manpages Cloning into '/var/lib/mock/dist-an23-build-254670-63582/root/chroot_tmpdir/scmroot/gl-manpages'... $ git reset --hard origin/a23 HEAD is now at 9a8a5fe Optimize the spec file