'Changing GitHub noreply email for commits, after GitHub username change

I changed my username on GitHub a few months ago (I'm a self-taught student dev and I wanted to use my real name instead of a nickname, in order for my profile to look more professional). I've just realised I'm still using my old username's @users.noreply.github.com email to commit.

Does this matter, and if so, what's the best way to change it without causing issues?

I saw a similar question from 6 years ago: GitHub username change (with noreply as email for commits)

However, my question is a little different:

  • I'm not concerned about amending the commit email for existing repos, as they are all currently just student/practice projects with only myself as the contributor.

  • I'm more concerned that repos which I've created since I changed my GH username are still using the [email protected] email. It would be good for future repos to have the correct email.

I'm new to using Git and GH, so I want to check the following:

  • Should I use git config --global user.email "MY_EMAIL@SOME_DOMAIN.com" and just use my normal email? The current one is a GitHub noreply email, so I'm concerned about resetting this and ending up with a ton of commit messages sent to my email, or messing up something in my GH settings that I don't yet know about.
  • Alternatively, is there a way to set up an @users.noreply.github.com email for my current GH username, and would this be a better option than the above?

Many thanks.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source