Git Changing Amend Latest Commit

October 13th, 2011 by Regaz

If you have already executed yuor Commit and you Forgot to Add something you can just Change it executing:

commit --amend

Your already executed:
$git commit -m “your message”
You want to add something:
$git add something
Now to amend the last commit:
$git –amend

Tags: ,