I know how to remove a specific commit from git history using git rebase --interactive .
My question is about a more complicated case with this story:
A
where I would like to remove commit X The problem is that in this case there are two or more branches with parents ( B in this case) that have X in their history, so one git rebase -i will not do the trick (at least I don't know how).
Is there an easy way to remove X , or should I rely on reloading all branches myself, possibly with a shell script?
git branch rebase commit history
Simon Jan 29 '14 at 9:35 a.m. 2014-01-29 09:35
source share