threads / discuss / 17254

Shallow submodule update/clone?

Subject: Shallow submodule update/clone?

## tl;dr

One message between Jan 19, 2009 and Jan 19, 2009.

replies: 0people: 1as markdown or json

Chas Emerick· Jan 19, 2009, 16:59 UTC · lore

Is there a way to cause 'git submodule update' to perform a shallow clone of some or all of a repo's submodules?

Ideally, I'd like to be able to specify that particular submodules be shallowly cloned all the time (perhaps by specifying a default --depth when doing 'git submodule add ...'). Just an idea, there.

Cheers,
- Chas

← back to recent threads