premaseem.wordpress.com
Git: Combining the commits
To squash the last 3 commits into one: git reset –soft HEAD~3 git commit -m “New message for the combined commit” Pushing the squashed commit If the commits have been pushed to th…