當遇到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