The --global
option tells Git to always use this information for anything you do on your system. If you omit --global
or use --local
, the configuration applies only to the current repository.
Set name and email
git config --global user.name "ross"
git config --global user.email "me@email.com"
Verify the new config
git config --global --list