Git: How to change the most recent commit with `--amend`

InstructorKent C. Dodds

Share this video with your friends

Send Tweet

If you make a mistake with a commit and need to make changes or you'd like to update the commit message of the most recent comment, you can do this with the git commit --amend command.