GitHub push代码发生错误:fatal: Authentication failed for 'https://github.com/ ...
使用的https提交,在用SourceTree提交代码时候发生错误,返回的错误提示说:
fatal: Authentication failed for 'https://github.com/ ...
如图所示:
解决方案,重新执行git config命令配置用户名和邮箱即可:
git config -–global user.name "xxx"
git config –-global user.email "xxx@xxx.com"
本文介绍了一种在使用SourceTree向GitHub提交代码时遇到的认证失败问题,并提供了一个简单的解决方案,即通过重新配置git的用户名和邮箱来解决此问题。
1万+

被折叠的 条评论
为什么被折叠?



