Skip to content

Instantly share code, notes, and snippets.

@bw2012
Created April 11, 2019 18:20
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