Github错误:fatal: Authentication failed for 'https://github.com/ ...

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 "[email protected]

--------------------- 
作者:zhangphil 
来源:CSDN 
原文:https://blog.csdn.net/zhangphil/article/details/47981757 
版权声明:本文为博主原创文章,转载请附上博文链接!

你可能感兴趣的:(gi,t,fatal:,Authentication,failed)