Thursday, October 13, 2011

Git Changing Amend Last Commit

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

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