To change the last commit message in git use the following command
git commit -amend
It will open a text editor(in my case vim) with the old message that is going to be edited. Modifying,saving and quiting the editor will update the old commit message.
Tuesday, August 4, 2009
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment