Created
August 2, 2014 09:57
-
-
Save willgarcia/f4567d2e326b3b927518 to your computer and use it in GitHub Desktop.
git edit old commit messages
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 rebase -i HEAD~(count) | |
# pick 123456 bad message | |
-> | |
# edit 123456 bad message | |
git commit --amend | |
git rebase --continue | |
git push -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment