解决远程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