How to change git username and email
1.In your terminal, navigate to the repo you want to make the changes in.
2.Execute git config –list to check current username & email in your local repo.
3.Change username & email as desired. Make it a global change or specific to the local repo:
git config --global user.name "Full Name" git config --global user.email "email@address.com"
4.Per repo basis you could also edit .git/config manually instead.
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.
Yes0
No0