I have a history which looks somewhat as following
* (TOPIC) topic 3
|
| * merge master onto topic
|/|
* | master 3
| * topic 2
* | master 2
| |
| * topic 1
|/
* master 1
|
I.e. the upstream branch is merged into topic once. Now I want to interactively rebase this topic branch on the same base, but undo the merge (merge commit itself and all the commits from master introduced by the merge). How is this possible?