更新fork中的主分支

这个问题在这里已经有了答案:

  • 我如何更新GitHub分叉库? 16个答案

  • 似乎远程存储库不存在,或者您添加了错误的存储库。

    我的建议首先删除原点并重新添加它:

    git remote remove upstream
    git remote add upstream https://github.com/username/repository
    
    链接地址: http://www.djcxy.com/p/18067.html

    上一篇: Updating master branch within fork

    下一篇: Github, pulling/updating from upstream after forking