Squashing commits with rebase

The git rebase command offers powerful options in its –interactive mode, commonly abbreviated as -i. One of the most popular features is the ability to squash commits