大家好,又见面了,我是你们的朋友全栈君。
清空所有用户名和密码:git config –system –unset credential.helper
只用这一个命令就可以,如果不好使可以参照下面命令
查看config配置:git config –list
查看git用户名:git config user.name
清除缓存的用户名和密码:git credential-manager uninstall
更改全局用户名:git config –global user.name “username”
更改全局邮箱:git config –global user.email “eamil@qq.com”
如果还不好使,那就得去 Windows管理凭据 里更改了
控制面板—-用户账户—Windows管理凭据—编辑
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/126623.html原文链接:https://javaforall.net