fatal: Authentication failed for


1个月前 128次点击 来自 其他

标签: Git

今天遇到fatal: Authentication failed for ,一般git push到远端会弹出输入用户名和密码,处理过程如下:

排除下origin问题,删除本地origin连接后再重新add:

git remote -v 
git remote remove origin 
git remote add origin xxx

重新设置下用户名密码:

git config -–global user.name "xxx"   
git config –-global user.email "xxx@xxx.com" 

重置下本地credential

git config --system --unset credential.helper

到这一步基本上解决问题

Made with in Shangrao,China By Devler.

Copyright © Devler 2012 - 2022

赣ICP备19009883号-1

Top ↑