using github’s noreply email address

diary of a codelovingyogi
1 min readNov 4, 2019

--

If you prefer a little privacy, when you make commits in GitHub repositories, you have the option to keep your email private and use the default noreply email from GitHub. This is awesome.

To do this, go to you Settings , then Emails , select:

From there, you would have to remember to update your git config user.email to use your default noreply: <username>@users.noreply.github.com

If you happen to forget to update your commit email address, GitHub will prevent you from pushing your changes to remote repository. To fix this, you can amend your previous commits to update to the noreply email:

git commit --amend --reset-author

Accept the changes and then try again!

--

--