$ git clone -n https://gitee.com/src-anolis-os/libspiro.git /var/lib/mock/dist-an8.7-build-138344-51670/root/chroot_tmpdir/scmroot/libspiro Cloning into '/var/lib/mock/dist-an8.7-build-138344-51670/root/chroot_tmpdir/scmroot/libspiro'... $ git reset --hard origin/a8 HEAD is now at f6cdc73 spec: add doc sub package