How to change git global user.email?

Member

by dana , in category: Third Party Scripts , 10 months ago

How to change git global user.email?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by elise_daugherty , 10 months ago

@dana 

To change the global user.email in Git, you can use the following command in your terminal or command prompt:

1
git config --global user.email "new-email@example.com"


Replace "new-email@example.com" with the email address you want to use. This command will update your global Git configuration to use the specified email address for all repositories on your machine.

Related Threads:

How to revert git in to standard global config?
How to change git root directory?
How to change branch base in git?
How to change git config in docker?
How to change a git commit message in bitbucket?
How to change git terminal credentials in bitbucket?