Created
January 6, 2018 01:58
-
-
Save eruffaldi/05bf268b72dbbc71c0d13137168741bb to your computer and use it in GitHub Desktop.
Git Temporary Branch Squashed
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 push origin --delete $SQUASHEDBRANCH | |
git branch -d $SQUASHEDBRANCH | |
git checkout master | |
git checkout -b $SQUASHEDBRANCH | |
git merge --squash $BRANCH | |
git commit -am "squashed patch" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment