Tortoisegit fatal:Authentication failed for認證失敗問題解決辦法

問題描述

在Win10中使用Tortoisegit提交代碼時出現fatal:Authentication failed for認證失敗問題,截圖以下: Authentication failedgit

這種狀況通常是Git帳號密碼錯誤。.net

網上解決方案

查了下網上相關資料,基本都是說從新設置用戶信息,就能夠正常了。 好比重置右鍵密碼; 或者code

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

或者blog

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

我的解決方法

可是,我的試了以上方法都沒解決問題。最後,找到了網上一篇「fatal: Authentication failed for碼雲的解決辦法」的文章。按照上面的方法 解決方法以下:rem

git config --system --unset credential.helper

而後就終於能夠從新填寫用戶名和密碼進行提交了。get

相關文章
相關標籤/搜索