6

I accidentally typed the following wrong git command.

git config --global user.mail [email protected] 

and now I see an extra property when I type git config--list:

user.mail = "[email protected]" 

How can i get rid of it?

1

1 Answer 1

7

git config --global --unset user.mail

From the man page

 --unset Remove the line matching the key from config file. 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.