git commit –amend change the author or message of the commit

Git

To change the author or message of the last commit consider using the following commands:

git commit --amend --author="Taras Shkodenko <taras@shkodenko.com>"

or

git commit --amend -m "New Commit Message"
Posted in Git