Last Updated: February 25, 2016
·
642
· menor

Interactive Rebase

While working on the Diffux translation I made some silly mistakes ( deleting some lines on a commit and adding them back in another one once I realized I was doing the wrong thing).

The incredibly patient and talented Joe Lencioni showed me the power of Interactive Rebase.

Basically you can cherry pick commits, merge several commits into just one, or just reorder them.

You invoke it using git rebase --interactive and the commit you want to go back and start rebasing from.

Here is the documentation

1 Response
Add your response

shortcut: git rebase -i ...</code>

over 1 year ago ·