Fix Git Commit Message

I often forget to reference issues or documentation in commit messages.

To fix the latest commit message, run:

1
$ git commit --amend

Edit and save the buffer. Done.

Need to edit an older commit message?

If you find a mistake in an older commit, you can use Git rebase interactive mode with git rebase -i, and mark the change that requires correction for editing.

Resources:

Next: Updating a GitHub Fork