Skip to content

Instantly share code, notes, and snippets.

@NathanUrwin
Last active March 17, 2018 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NathanUrwin/a764c887f9f21aff2bf5759dc8dd83c2 to your computer and use it in GitHub Desktop.
Save NathanUrwin/a764c887f9f21aff2bf5759dc8dd83c2 to your computer and use it in GitHub Desktop.

How to change Git username AND email

1. Update remote profile settings

2. Update global git config

$ git config --global user.name newusername
$ git config --global user.email newuseremail@example.com

3. For each repo:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment