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
~ 2 years ago

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

Juri Strumpflohner
Juri Strumpflohnerinstructor
~ 2 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 :)