Created
April 3, 2015 19:40
-
-
Save alissalbedrocket/4d53002efb068f219668 to your computer and use it in GitHub Desktop.
Squashing commits
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 HEAD~2 // however many commits you want to squash into one | |
git add . | |
git commit -m 'bigfoot is real' | |
git push origin feature/bigfoot --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment