Possible Duplicate:
Git shallow submodules
Starting Git 1.6.5+ git clone has a --recursive
option that also clones submodules, recursively.
The submodules in our project are quite large (lots of history) and sometimes take a long time to clone which can be saved by the --depth 1
option.
Is there some way to shallow clone (--depth 1
) these submodules recursively?