Updating master branch within fork

This question already has an answer here:

  • How do I update a GitHub forked repository? 16 answers

  • Seems like the remote repository doesn't exist or you have added the wrong one.

    My suggestion first remove the origin and re-add it:

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

    上一篇: 我怎样才能保持我的叉同步,而无需添加单独的远程?

    下一篇: 更新fork中的主分支