fatal: 'upstream' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
通过 git remote -v 检查,发现错误原因是 upstream repo 的地址是 git@,而不是 https
解决方案:
利用 git remote remove upstream 移除掉原来的 upstream repo,再 git remote add upstream https://... 添加上新的地址。