ammend git code example
Example 1: git amend
git commit --amend -m "an updated commit message"
Example 2: add change to last commit
$ (some_branch) git commit --amend
git commit --amend -m "an updated commit message"
$ (some_branch) git commit --amend