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