Amend the last commit
CautionReplaces the last commit with one that also includes the staged changes, and opens an editor to change its message.
git commit --amendReport an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/git-commit.md), licensed under CC BY 4.0.