I have an issue with branching and merging in git. We have the following branches (which are our product, and are maintained in parallell as they all are installed and supported at customers)
2015Edition1
2015Edition2
2016Edition1
2016Edition2
master
We can think of these branches as release branches.
The problem is as follows.
2015Edition1
is branched and a fix is commited into branch fix1
.
2015Edition1
fix1\-- bugfix
The fix is merged back into 2015Edition1
and released.
2015Edition1--------------merge
fix1\-- bugfix --/
However, the Branches 2015Edition2
, 2016Edition1
, 2016Edition2
differs quite heavily, due to binary help files, a lot of product dependent images and so on, and changes in sourcecode that is never merged back to master.
Is there any way to merge the fix1
branch and only get the commits in fix1
The result I want is as follows:
2015Edition1--------------merge--
fix1\-- bugfix --/
\
----------merge--
2016Edition2fix/
2016Edition2 --
I know i can cherry pick the commits into the other branches. but this is a very simplified example. and i think i lose the ability to track in wich branches the commits are present.
Any comments and suggestions