$ git clone -n https://gitee.com/zhangting0411/gssdp.git /var/lib/mock/dist-an8.6-build-216373-61928/root/chroot_tmpdir/scmroot/gssdp Cloning into '/var/lib/mock/dist-an8.6-build-216373-61928/root/chroot_tmpdir/scmroot/gssdp'... $ git reset --hard 10f7f8cd13668eb0496c520d825d66bc18cba044 HEAD is now at 10f7f8c Add doc sub package