SyntaxFix
Write A Post
Hire A Developer
Questions
You can use tool I've created to make this process easier: git-squash. For example to squash all commits on feature branch that has been branched from master branch, write:
git squash master git push --force