Last commit shows old email. Branch isn't pushed yet, so amending is safe.
`git commit --amend --reset-author --no-edit` rewrites author/email using current config.
Easy · 2 steps · +300 XP
This scenario walks through 2 steps, in order:
Try the terminal first — you learn more by doing. When you want to check yourself, here is the command for each step.
git config user.email you@company.comgit commit --amend --reset-author --no-editIf the commit isn't pushed, --amend is the cleanest fix.