Here’s the situation, I have three branches, master, fix#1 and fix#2, where both the latter two are each fixing one specific bug.
The problem is, I based fix#2 on fix#1, instead on branching from master, so it looks something like this
fix#2
|
fix#1
|
master
instead of
fix#1 fix#2
| /
master
Is there any simple way how I can either remove all the fix#1 commits from the fix#2 branch (it’s actually one commit)?
But make sure you understand what’s to happen and all consequences before you do it.
git rebase -houtput: