所以我想知道上游主机是否有问题? 我不确定是否在所有内容都已更新时发生此错误,或者是否有所不同。
我已经毫无问题地添加了上游链接,使用 $ git remote add up https://github.com/udacity/course-collboration-travel-plans.git
只想立即与母版同步
答案 0 :(得分:2)
当然,您的存储库URL:https://github.com/udacity/course-collboration-travel-plans.git给出404。添加的遥控器上没有存储库。
尤其是我在您的远程URL collboration
==> collaboration
中看到一个错字。因此,应添加为远程的正确URL为:
https://github.com/udacity/course-collaboration-travel-plans.git
# Remove previously incorrect remote
$ git remote rm upstream
# Adding correct remote
$ git remote add upstream https://github.com/udacity/course-collaboration-travel-plans.git
希望有帮助。