Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
git squash branch to one commit
git checkout master
git merge --squash [branch]
git add .
git commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment