$ git clone -n https://gitee.com/src-anolis-os/man-db.git /var/lib/mock/dist-an8.7-build-262324-63788/root/chroot_tmpdir/scmroot/man-db Cloning into '/var/lib/mock/dist-an8.7-build-262324-63788/root/chroot_tmpdir/scmroot/man-db'... $ git reset --hard 010db09550e61a0253a0541b86b26911e428a1ca HEAD is now at 010db09 spec: add doc sub package