Wednesday, July 19, 2023

Setting Global Git Username and Email

The global git username and email address are associated with commits on all repositories on your system that don’t have repository-specific values.

To set your global commit name and email address run the git config command with the --global option:

git config --global user.name "Your Name"

git config --global user.email "youremail@yourdomain.com"