How to change the name and email from terminal in Mac ?


By using this command we can check the current user name and email.

cat .gitconfig

For changing or updating the user name and email use below command in terminal.

git config –global user.name “Arun Tiwari”

git config –global user.email “arun.tiwari@laitkor.com”

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s