GitHub push代码发生错误:fatal: Authentication failed for 'https://github.com/ ...

使用的https提交,在用SourceTree提交代码时候发生错误,返回的错误提示说:

fatal: Authentication failed for 'https://github.com/ ... 

如图所示:

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


解决方案,重新执行git config命令配置用户名和邮箱即可:

git config -–global user.name "xxx" 
git config –-global user.email "[email protected]" 




GitHub push代码发生错误:fatal: Authentication failed for 'https://github.com/ ...

使用的https提交,在用SourceTree提交代码时候发生错误,返回的错误提示说:

fatal: Authentication failed for 'https://github.com/ ... 

如图所示:

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


解决方案,重新执行git config命令配置用户名和邮箱即可:

git config -–global user.name "xxx" 
git config –-global user.email "[email protected]" 




相关文章:

  • 2021-09-13
  • 2021-08-18
  • 2022-12-23
  • 2021-05-19
  • 2021-10-05
  • 2021-05-04
  • 2021-10-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-19
  • 2021-09-24
  • 2022-12-23
  • 2022-01-14
相关资源
相似解决方案