# Shallow submodule update/clone?

1 messages from 2009-01-19 to 2009-01-19. Participants: Chas Emerick.
Thread: https://gitlist.dev/t/17254

## Chas Emerick, 2009-01-19 16:59

Subject: Shallow submodule update/clone?
Message-ID: <78F609E2-8FB4-452B-A54D-2929710E6773@snowtide.com>
URL: https://gitlist.dev/e/78F609E2-8FB4-452B-A54D-2929710E6773%40snowtide.com

```
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

```
