$ git clone -n https://gitee.com/src-anolis-os/gobject-introspection.git /var/lib/mock/dist-an8.6-build-183058-60012/root/chroot_tmpdir/scmroot/gobject-introspection Cloning into '/var/lib/mock/dist-an8.6-build-183058-60012/root/chroot_tmpdir/scmroot/gobject-introspection'... $ git fetch origin df705318c8d40f4bf713baa628994164d5026e0a:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/gobject-introspection * [new ref] df705318c8d40f4bf713baa628994164d5026e0a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at df70531 spec: add doc sub package