Suppose I have 2 branches master and dev.
The dev branch is ahead of master by 2 commits, and neither of those commits is merged or pushed to any remote.
The dev branch looks like this:
dev A - B - C - D - E
Whereas, A is oldest, and E newest commit.
Id like to get to this state:
dev A - B - C - E
Basically I want to nuke the commit before the last commit, as if it never happened. There should be no conflicts either (E does not depend on D's changes).
Could I use interactive rebase?