Last active
October 30, 2015 09:50
-
-
Save sorenlouv/60f50b0d89c657287f9e to your computer and use it in GitHub Desktop.
Squash commits from branch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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