git 遇到的问题
2017-06-29 本文已影响0人
Zs咚咚
git 从本地上传项目时,由于之前的仓库路径与当前仓库路径不符,可能会出现 这个错误信息.
当执行
git push -u origin master 这个命令时,会出现下面这个错误.
remote: Repository not found.
fatal: repository 'https://github.com/meZS/IosProjectDemo.git/' not found
解决办法:找到工程 git目录下的 config 文件.
***:将config文件的下的远程路径url 修改为当前远程仓库的地址.
![](https://img.haomeiwen.com/i3286536/c56a07d89014e4d0.png)
![](https://img.haomeiwen.com/i3286536/5adec2bde4c50259.png)