Re: sub module branches
- From
Avery Pennarun <apenwarr@gmail.com>
- Date
- Mar 9, 2010, 00:47 UTC
- Message-ID
- <32541b131003081647j2eadb8dfs758611fd4007deea@mail.gmail.com>
- In-Reply-To
- <b42431c81003080314j694114b5o433988470f13328a@mail.gmail.com>
On Mon, Mar 8, 2010 at 6:14 AM, Mahesh Vaidya <forvaidya@gmail.com> wrote:
Show 11 quoted lines
> I have a situation like > > project/source.git > /submod_1 > /submod_2 > > I need to modify code in all 3 repos viz. source, submod_1 & submod_2. > > If I create branch in source, will it propogate to remaining > submodules ? or in other words can I have "global branch" and "global > tag"
You could use git-subtree instead: http://github.com/apenwarr/git-subtree
That will allow you to branch all the repos at once. It slightly increases the effort required to extract the changes and submit them upstream again, though.
Have fun,
Avery