Last active
August 29, 2015 14:14
-
-
Save emarashliev/1cd7336f2f6f54a0775c to your computer and use it in GitHub Desktop.
Change commit messages of past Git commits
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 rebase -i [COMMIT BEFORE THE FIRST YOU WANT TO EDIT] | |
# Mark all messages to be changed with "edit". | |
# Git will start the rebasing and stop at every marked commit. | |
git commit -amend -m "new message" | |
git rebase -continue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment