Last active
September 10, 2015 01:33
-
-
Save kavitshah8/548762f6f2d66f4641a3 to your computer and use it in GitHub Desktop.
Squash Multiple Commits into One
This file contains hidden or 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 commit --soft <Last commit where HEAD should point> | |
git commit -m 'Many squashed commits' | |
git push --force origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment