1. 程式人生 > >Github錯誤:fatal: Authentication failed for 'https://github.com/ ...

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 
版權宣告:本文為博主原創文章,轉載請附上博文連結!