git: commit with the wrong email

· Thiago Perrotta · Oct. 14, 2025, 12:07 p.m.
Summary
This post provides a simple solution for fixing a Git commit made with the wrong email address by using the `git commit --amend` command. It also suggests updating the Git configuration to prevent future occurrences of the mistake.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →