Amending the author of a commit
suggest changeIf the latest commit has the wrong author, set the name and email, then amend. These git config lines change the repository’s local identity for later commits as well:
git config user.name "Full Name"
git config user.email "email@example.com"
git commit --amend --reset-author
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents