git commit ammend message code example
Example 1: amend last commit message
$ git commit --amend -m "New and correct message"
Example 2: git amend last commit message
$ git commit --amend -m "New and correct message"
Example 3: git commit message
$ git commit -m"Fix typo in introduction to user guide"
Example 4: git commit with message
git commit -m <msg>
git commit -message=<msg>