# git sub modules related

2 messages from 2010-07-06 to 2010-07-06. Participants: Mahesh Vaidya, Avery Pennarun.
Thread: https://gitlist.dev/t/24307

## Mahesh Vaidya, 2010-07-06 17:45

Subject: git sub modules related
Message-ID: <AANLkTinej91PZbh_axJqz92mI0Y3GUako8tuKtU24iwV@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTinej91PZbh_axJqz92mI0Y3GUako8tuKtU24iwV%40mail.gmail.com

```
Hi

Created a 'super' level module top and add 2 sub modules a and b (As
given in manual); However I am not able to create a Global branch /
Tag.

super ---> a
          |
          ---->b

I am hoping to create a branch FOO which will recursively go in super,
a and b; In that case how do need to associate tags and branch in
super, a and b by a single artifact

Thx/ Mahesh

```

## Avery Pennarun, 2010-07-06 17:59

Subject: Re: git sub modules related
Message-ID: <AANLkTil2ULzcREY2KsQtcHLmwT7or1lMo4Ju1cUYrq2o@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTil2ULzcREY2KsQtcHLmwT7or1lMo4Ju1cUYrq2o%40mail.gmail.com
In-Reply-To: <AANLkTinej91PZbh_axJqz92mI0Y3GUako8tuKtU24iwV@mail.gmail.com>

```
On Tue, Jul 6, 2010 at 1:45 PM, Mahesh Vaidya <forvaidya@gmail.com> wrote:
> Created a 'super' level module top and add 2 sub modules a and b (As
> given in manual); However I am not able to create a Global branch /
> Tag.
>
> super ---> a
>          |
>          ---->b
>
> I am hoping to create a branch FOO which will recursively go in super,
> a and b; In that case how do need to associate tags and branch in
> super, a and b by a single artifact

As far as I know, there is no feature to do this automatically.  And
it would be kind of complicated to add, since you'd have to be able to
push that branch to multiple repositories at the same time, and so on.

I wrote git-subtree (http://github.com/apenwarr/git-subtree) to solve
exactly this sort of problem in my own projects.  It has a very
different workflow than submodules, but you might like it.

Have fun,

Avery

```
