Reputation: 829
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?
Upvotes: 6
Views: 7100
Reputation: 1971
git config --global --unset user.mail
From the man page
--unset
Remove the line matching the key from config file.
Upvotes: 7