Setting global variables

From wikipost
Jump to navigation Jump to search


Global User Name

Get the current global user name:

git config --global user.name


Set the current global user name:

git config --global user.name "Joe Bloggs"


Global User Email address

Get the current global user email address:

git config --global user.email


Set the current global user email address:

git config --global user.name "joe@bloggs.com"