threads / discuss / 24307

git sub modules related

Subject: git sub modules related

## tl;dr

2 messages between Jul 6, 2010 and Jul 6, 2010.

replies: 1people: 2as markdown or json

Mahesh Vaidya· Jul 6, 2010, 17:45 UTC · lore
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· Jul 6, 2010, 17:59 UTC · re: Mahesh Vaidya · lore

Re: git sub modules related

On Tue, Jul 6, 2010 at 1:45 PM, Mahesh Vaidya <forvaidya@gmail.com> wrote:
Show 11 quoted lines
> 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

← back to recent threads