On Mon, Sep 13, 2010 at 12:24:45AM -0700, Daniel Ferguson wrote:
> Yeah, wow. i'm doing great on the commit comments.I keep messing them up.
> two different times now. I could live with one, but now i've got two. the
> shame is overwhelming.
> what's the story on fixing bad commit comments?

If you haven't already pushed it, and you haven't committed anything
else on top of it, just "git commit --amend".

If you haven't already pushed it, but you've already committed more on
top of it, try "git rebase -i thatcommit^" , and then you can choose to
"reword" or "edit" the comit.

If you've already pushed it, then better luck next commit. :)

- Josh Triplett

psas-avionics mailing list

Reply via email to