git how to commit amend code example
Example 1: git amend
git commit --amend -m "an updated commit message"
Example 2: amend commit
git commit --amend -m "an updated commit message"
git commit --amend -m "an updated commit message"
git commit --amend -m "an updated commit message"