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