Git rebase -i belong to us

git rebase -i is an *easy* way to squash many commits into one, so your commit log will be nice and pretty.

The Basics

1. Why you need git rebase -i

All of your feature branch’s commits

2. How to use git rebase -i

$ git rebase -i HEAD~11
rebase -i’s list of commit messages, to be re-applied “interactively”
$ git rebase -i HEAD~1 

Full-Stack, Ruby, and JavaScript Consulant @ US, UK, IL. If you enjoy my work or are looking for a consultant, reach out at http://sellarafaeli.com

Full-Stack, Ruby, and JavaScript Consulant @ US, UK, IL. If you enjoy my work or are looking for a consultant, reach out at http://sellarafaeli.com