Amending the author of a commit

suggest change

If 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

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents