Possible duplicate:
Git small submodules
Running Git 1.6.5+ A Git clone has the --recursive , which also recursively clones submodules.
The submodules in our project are quite large (a lot of history), and sometimes it takes a lot of time for cloning, which can be saved using the --depth 1 .
Is there any way to a shallow clone ( --depth 1 ) recursively these submodules?
git git-submodules
Evgeny
source share