How to Combine Multiple Git Commits into One Steps to merging multiple commits. Running git rebase in interactive mode. Typing "squash" Choosing between commit messages. Pushing changes. Squashing. Related Resources.