To avoid spam, I recommend using a “noreply” email address in Git repositories. However, Github contribution credit is based on having a Git email associated with your Github account. By default, the email address
is associated with your account.
Be sure this email address is correct on each computer’s
~/.gitconfig you use to make Git commits, or you’ll miss out on GitHub contribution credit.
Correct email in old Git push
You will have to
rebase the repo, which will cause all other contributors to have to reclone the repo.
This is possibly messy for large repos.
Git email change script: gitemail.py