$ git clone -n https://gitee.com/src-anolis-os/gtkspell.git /var/lib/mock/dist-an8.7-build-138328-51670/root/chroot_tmpdir/scmroot/gtkspell Cloning into '/var/lib/mock/dist-an8.7-build-138328-51670/root/chroot_tmpdir/scmroot/gtkspell'... $ git reset --hard origin/a8 HEAD is now at 5e4b1a2 Add doc sub package