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
Written by José Menor
Related protips
1 Response
shortcut: git rebase -i ...</code>
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#