Interactive rebase with Git Extensions

Olivier B. picture Olivier B. · Jun 29, 2012 · Viewed 10.5k times · Source

Did anyone managed to make an interactive rebase with Git Extensions ?

Option is available when rebasing, but whenever I selected the last n commits, select "interactive" in the rebase window, the editor pops up with "noop" comment instead of the commits lines.

Where am I wrong ?

Answer

patthoyts picture patthoyts · Jun 29, 2012

By default, Git extensions sets the branch to rebase against to the branch you are currently working on. So, unless you change that, there is nothing to do and you get this 'noop' message. You have to rebase against something that is not your current HEAD. Either that is some number of commits back from your head (eg HEAD~4) or the origin's version of your branch (eg: origin/master) or a specific named commit.