Git – One more chance to fix not-yet-pushed commits

Git has a really cool feature: Interactive rebase. Roughly, it allows you to “rewrite history” of your (not pushed) commits.

It allows you to:

1. Change the order of commits

2. Change commit messages

3. Merge (Squash) commits.

4. Split commits.

Below is a link to an article where you’ll find how to do these:

http://git-scm.com/book/en/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages

Leave a Reply