I have the following scenario:
M
|
|
o X
| /|
|/ |
a b
| /
|/
o
I checked out b, then ran git merge a. There were some conflicts which were resolved in the merge commit X. I also did some misc changes within X.
I want to squash X and b, and then rebase the squash on M.
The goal is to avoid re-doing the changes that were done to build X.
(X+b)
|
|
M
|
|
o
|
|
a
|
|
o
Any ideas on how to do this?