How to squash multiple git commits

Often, project maintainers prefer that a single pull request be represented by a single commit. It makes the git history cleaner and easier to understand. So before your pull request is merged you’ll want to do an interactive git rebase to squash all of your commits and fix your commit message.

Please take a moment to tell your friends:

You must be a PRO Member to view code