power_settings_new

how do I change global git setting? i.e. email and name

by
asked
0 votes
49 views
How do I change my global config and change my email id and password?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

answered by (171 points)
0 votes

Use below commands to do the same.

 

$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
add
...