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

时间:2015-08-25 21:51:15   收藏:0   阅读:1482

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" 




版权声明:本文为博主原创文章,未经博主允许不得转载。转载请注明出处:http://blog.csdn.net/zhangphil

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!