$ git clone -n https://gitee.com/magic-orange/libgweather.git /var/lib/mock/dist-an23.1-devel-build-366712-71307/root/chroot_tmpdir/scmroot/libgweather Cloning into '/var/lib/mock/dist-an23.1-devel-build-366712-71307/root/chroot_tmpdir/scmroot/libgweather'... $ git fetch origin dfd6462637375ff729e5b49142e00fdc6d6f61d8:KOJI_FETCH_HEAD From https://gitee.com/magic-orange/libgweather * [new ref] dfd6462637375ff729e5b49142e00fdc6d6f61d8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dfd6462 spec: add doc sub package