Git Changing Amend Latest Commit

October 13, 2011 | By Regaz | Filed in: Uncategorized.

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


Tags: ,

QuickChic Theme • Powered by WordPress