git or github set the email address for single or global repositories

Опубликовано: 15 Май 2026
на канале: Andrew Bin
441
2

git config user.email "[email protected]"

Confirm that you have set your email address correctly with the following command.

git config user.email [email protected]

Setting your email address for every repository on your computer

Open Terminal.

Set your email address with the following command:

git config --global user.email "[email protected]"

Confirm that you have set your email address correctly with the following command.

git config --global user.email [email protected]