STORY:
Is your manager is a grammar Nazi ,so She/He/It complains about your grammar mistakes in your comment in last Git commit ? If yes, or if you just want change message in your last commit,then... Question is how to change last commit message?
SOLUTION:
git commit --amend -m "A new corrected commit message"
SOURCE:
http://stackoverflow.com/questions/179123/how-do-i-edit-an-incorrect-commit-message-in-git
No comments:
Post a Comment