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