問題描述:
使用git clone項目,出現(xiàn)The project you were looking for could not be found
原因:
git自動保存了用戶名密碼,當前項目的用戶名密碼與之前的發(fā)生沖突。
解決方案:
(1)一次性
git clone http://mygitusername:mypassword@git.coding.net/name/project.git
(2)永久
清除本地git賬戶,重新輸入用戶名與密碼。
git config --system --unset credential.helper
之后再進行g(shù)it操作時,彈出用戶名密碼窗口,輸入即可。