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