$ git clone -n https://gitee.com/src-anolis-os/cheese.git /var/lib/mock/dist-an8.6-build-124710-46180/root/chroot_tmpdir/scmroot/cheese Cloning into '/var/lib/mock/dist-an8.6-build-124710-46180/root/chroot_tmpdir/scmroot/cheese'... $ git reset --hard 6756f8dc1fb9eaece6013c764f6940f7720b3174 HEAD is now at 6756f8d spec: add doc sub package