$ git clone -n https://gitee.com/src-anolis-os/enchant.git /var/lib/mock/dist-an8.6-build-124837-46180/root/chroot_tmpdir/scmroot/enchant Cloning into '/var/lib/mock/dist-an8.6-build-124837-46180/root/chroot_tmpdir/scmroot/enchant'... $ git reset --hard d9159a949c8d6cf5f3797114e1badc4f6e2ab1ee HEAD is now at d9159a9 Add doc sub package