解決遠程git The project you were looking for could not be found報錯


當遇到git拉去遠程代碼庫,更新了Git賬號密碼后,git配置的賬號密碼沒有更新會出現

Cloning into 'xxxx'...
remote: The project you were looking for could not be found.
fatal: repository 'https://github.com.cn/xxx/xxx.git/' not found

情況報錯時候,

 

網上有很多解決版本

如: git clone http://yourname:password@git.coding.net/name/project.git   --我嘗試失敗

 

Git clone http://git賬戶名@git.coding.net/name/project.git 然后再彈出的密碼輸入指令后面輸入密碼 --依然失敗 主要密碼含“@”加上符號擴起密碼依然不行

 

最終解決方案:

清除本地的git賬號              --完美解決

git config --system --unset credential.helper


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM