$ git clone -n https://gitee.com/src-anolis-os/cheese.git /var/lib/mock/dist-an8.7-build-236671-62522/root/chroot_tmpdir/scmroot/cheese Cloning into '/var/lib/mock/dist-an8.7-build-236671-62522/root/chroot_tmpdir/scmroot/cheese'... $ git reset --hard 677aae9959b3c2a08a9d2e351e28affeb89d1f8f HEAD is now at 677aae9 spec: add doc sub package