We are starting to use repo ( https://source.android.com/source/using-repo.html ) to manage our multi-repository projects, however some of these repositories are using git submodules. When I do a repo sync
, is there a way to basically pass --recursive
to the clone it is doing?
The answer is YES. Two options:
<default sync-s="true"/>
to apply to all projects<project sync-s="true"/>
repo sync --fetch-submodules
repo help manifest
really only hints at this capability.
Do not define submodules as <project>
s as it seems to be suggested, this will screw them up during the checkout phase.