SyntaxFix
Write A Post
Hire A Developer
Questions
Try git rebase -i master on your feature branch. You can then change all but one 'pick' to 'squash' to combine the commits. See squashing commits with rebase
git rebase -i master
Finally, you can then do the merge from master branch.