问题描述
在执行: git fetch upstream 获取远程代码时报如下错误:
remote: The project you were looking for could not be found.
fatal: repository 'http://gitlab.inner.com/xxx/abc.git/' not found
解决方案:
执行 如下方法:
1 git remote remove upstream
2 git remote add upstream http://用户名@gitlab.inner.com/xxx/abc.git
3 git fetch upstream
就OK了。
版权声明:本文为weixin_43171875原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。