Skip to content

Instantly share code, notes, and snippets.

@sqren sqren/squash-commits.sh
Last active Oct 30, 2015

Embed
What would you like to do?
Squash commits from branch
git checkout master
git checkout -b master-squash
git merge --squash <branch-to-squash>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.