$ git clone -n https://gitee.com/Weisson/libgweather.git /var/lib/mock/dist-an8.6-build-102978-45598/root/chroot_tmpdir/scmroot/libgweather Cloning into '/var/lib/mock/dist-an8.6-build-102978-45598/root/chroot_tmpdir/scmroot/libgweather'... $ git reset --hard dfd6462637375ff729e5b49142e00fdc6d6f61d8 HEAD is now at dfd6462 spec: add doc sub package