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