fix last commit code example
Example 1: git cancel last commit
git reset --soft HEAD~1
Example 2: git amend last commit message
$ git commit --amend -m "New and correct message"
Example 3: git amend
git commit --amend -m "an updated commit message"