The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

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

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

1:49
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.
Watch this lesson now
Avatar
egghead.io

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.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?