Created
March 22, 2018 13:46
-
-
Save rmbrntt/d97533abab20d44c4c716a4285a425a9 to your computer and use it in GitHub Desktop.
Squash commits one-liner
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 reset --soft $(git merge-base master YOUR_BRANCH) && git commit -am "YOUR COMMIT MESSAGE" && git rebase -i master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment