$ git clone -n https://gitee.com/src-anolis-os/check.git /var/lib/mock/dist-an8.6-build-98856-45576/root/chroot_tmpdir/scmroot/check Cloning into '/var/lib/mock/dist-an8.6-build-98856-45576/root/chroot_tmpdir/scmroot/check'... $ git reset --hard origin/a8-dev HEAD is now at 007c623 spec: add doc sub package