$ git clone -n https://gitee.com/zhangting0411/enchant2.git /var/lib/mock/dist-an8.7-build-226048-62190/root/chroot_tmpdir/scmroot/enchant2 Cloning into '/var/lib/mock/dist-an8.7-build-226048-62190/root/chroot_tmpdir/scmroot/enchant2'... $ git reset --hard 95f99dcb57de7a9d53d68f852371c50f520dfedf HEAD is now at 95f99dc Add doc sub package