# submodules inside submodules?

3 messages from 2009-03-17 to 2009-03-18. Participants: Matthias Nothhaft, Johannes Schindelin.
Thread: https://gitlist.dev/t/18353

## Matthias Nothhaft, 2009-03-17 16:07

Subject: submodules inside submodules?
Message-ID: <978bdee00903170907g4cd02b01y971d378295787d50@mail.gmail.com>
URL: https://gitlist.dev/e/978bdee00903170907g4cd02b01y971d378295787d50%40mail.gmail.com

```
Hi,

can I put submodules into submodules? or is nesting submodules not possible?

regards,
Matthias

```

## Johannes Schindelin, 2009-03-17 16:34

Subject: Re: submodules inside submodules?
Message-ID: <alpine.DEB.1.00.0903171734330.6393@intel-tinevez-2-302>
URL: https://gitlist.dev/e/alpine.DEB.1.00.0903171734330.6393%40intel-tinevez-2-302
In-Reply-To: <978bdee00903170907g4cd02b01y971d378295787d50@mail.gmail.com>

```
Hi.

On Tue, 17 Mar 2009, Matthias Nothhaft wrote:

> can I put submodules into submodules?

Yes.

Ciao,
Dscho

```

## Matthias Nothhaft, 2009-03-18 10:28

Subject: Re: submodules inside submodules?
Message-ID: <978bdee00903180328n7610ab5csa5cd6c8d0f4fc65b@mail.gmail.com>
URL: https://gitlist.dev/e/978bdee00903180328n7610ab5csa5cd6c8d0f4fc65b%40mail.gmail.com
In-Reply-To: <200903181046.54556.johan@herland.net>

```
2009/3/18 Johan Herland <johan@herland.net>:
> On Tuesday 17 March 2009, Johannes Schindelin wrote:
>> On Tue, 17 Mar 2009, Matthias Nothhaft wrote:
>> > can I put submodules into submodules?
>>
>> Yes.
>
> However, initializing them is a bit clunky, as Git will only init/update one
> "level" of submodules at a time. In other words, a single "git submodule
> update --init" will only intialize the first level of submodules. You will
> have to redo that command within submodules that have their own (i.e.
> nested) submodules.

Oh, thanks for that hint.

regards,
Matthias

```
