我如何删除git用户属性? [英] How can i delete git user property?
本文介绍了我如何删除git用户属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
git config --global user.mail example@example.com
现在当我输入 git config - list
:
user.mail =example@example.com
我该如何摆脱它?
解决方案
git config --global --unset user.mail
从手册页
--unset
从配置文件中删除与该键匹配的行。
I accedently typed wrong git command.
git config --global user.mail example@example.com
And now i see extra property when type git config--list
:
user.mail = "example@example.com"
How can i get rid of it?
解决方案
git config --global --unset user.mail
From the man page
--unset
Remove the line matching the key from config file.
这篇关于我如何删除git用户属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文