$ git clone -n https://gitee.com/src-anolis-os/pakchois.git /var/lib/mock/dist-an8.6-build-101937-45598/root/chroot_tmpdir/scmroot/pakchois Cloning into '/var/lib/mock/dist-an8.6-build-101937-45598/root/chroot_tmpdir/scmroot/pakchois'... $ git reset --hard de18e982009afb42b88e659ba2de5a4c5742991e HEAD is now at de18e98 spec: add doc sub package