问题描述
在执行: 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了。