Setting global variables: Difference between revisions

From wikipost
Jump to navigation Jump to search
No edit summary
 
(No difference)

Latest revision as of 22:47, 13 February 2024


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"