Shallow depth of git submodule update or cloning

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?

+8
git git-submodules
source share

No one has answered this question yet.

See similar questions:

126
How to make small git submodules?

or similar:

20142
How do I undo the last local commits in Git?
15981
How to delete a Git branch locally and remotely?
11347
What is the difference between 'git pull' and 'git fetch'?
8423
How do I undo 'git add' before committing?
7919
How to rename a local Git branch?
7159
How do I revert a Git repository to a previous commit?
6475
How to remove local (untracked) files from the current Git working tree
3946
How to clone all remote branches in Git?
3258
How to remove a submodule?
1811
Like "git clone" including submodules?

All Articles