Re: [git-users] question on code management

2016-03-01 Thread Magnus Therning

'Renaud Barbier' via Git for human beings  writes:

> Assume the following:
>
> Off Linux 3.14 master , a branch is created my-branch-3.14 and platforms 
> support is added.
>
> Next, these platforms support should be added to Linux 4.0 in my-branch-4.0 
>
> How would you manage having the 3.14 code added to my-branch-4.0
>
> A merge? :
> git merge my-branch-3.14
>
> Or a rebase and squash  of a parallel branch to my-branch-3.14 to 
> my-branch-4.0?
>
> If I was doing a git merge, I would think git merge commit of the whole 
> history from 3.14 would happen each I move forward to 
> a new branch (my-branch-4.x)

It depends on the size and nature of the changes you maintain. I suggest
you have a look at git-imerge[1] for big complicated merges.

/M

[1]: https://github.com/mhagger/git-imerge

-- 
Magnus Therning  OpenPGP: 0x927912051716CE39
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe   http://therning.org/magnus

Java is, in many ways, C++--.
 -- M Feldman

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


[git-users] question on code management

2016-03-01 Thread 'Renaud Barbier' via Git for human beings
Assume the following:

Off Linux 3.14 master , a branch is created my-branch-3.14 and platforms 
support is added.

Next, these platforms support should be added to Linux 4.0 in my-branch-4.0 

How would you manage having the 3.14 code added to my-branch-4.0

A merge? :
git merge my-branch-3.14

Or a rebase and squash  of a parallel branch to my-branch-3.14 to 
my-branch-4.0?

If I was doing a git merge, I would think git merge commit of the whole 
history from 3.14 would happen each I move forward to 
a new branch (my-branch-4.x)

Cheers.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.