Created
April 11, 2019 18:20
-
-
Save bw2012/e7acfec738825b7e1683743d6fbfbce3 to your computer and use it in GitHub Desktop.
git squash branch to one commit
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 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