Re: sub module branches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 8, 2010 at 6:14 AM, Mahesh Vaidya <forvaidya@xxxxxxxxx> wrote:
> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]