I currently have imported a huge project from SVN to Git. I decided to flatten out all branches and keep only 2. Master branch and Diverged branch.
Master: A-B-C-D
\ X-Y: Bugfix
Diverged: E-F-G-H
The diverged contains a lot of different source code, but some parts still originate from master. When we have to do some bugfixing we have to manually patch Master and Diverged on SVN. I would like to merge Bugfix into master (no problem here) and merge Bugfix into Diverged.
Keep in mind that i dont want the previous commits to be inserted into Diverged from master. So ABCD should be ignored. The structure im looking for is this:
Master: A-B-C-D-X-Y
Diverged: E-F-G-H-X-Y
Could anyone help me figure this out?