$ git clone -n https://gitee.com/src-anolis-os/gtkspell3.git /var/lib/mock/dist-an8.6-build-140067-53317/root/chroot_tmpdir/scmroot/gtkspell3 Cloning into '/var/lib/mock/dist-an8.6-build-140067-53317/root/chroot_tmpdir/scmroot/gtkspell3'... $ git reset --hard origin/a8 HEAD is now at 76c6f5c Add doc sub package