Change the commit message of my last commit

Share this video with your friends

Send Tweet

Did you make a typo in your last commit message? No problem, we can use the git --amend command to change it very easily. Note: This only holds if you did not yet push your changes to the remote repository

Rodrigo Azevedo
Rodrigo Azevedo
~ 5 years ago

What is the alias behind "git lg" in this case? Thanks!

Juri Strumpflohner
Juri Strumpflohner(instructor)
~ 5 years ago

Hey, it's the one I show in this video: https://egghead.io/lessons/git-make-my-git-log-look-pretty-and-readable :)