How to update a fork on github

This question already has an answer here:

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

  • From your terminal in your local project folder...(and provided you have configured the remote for your fork)

    git fetch upstream
    git checkout master
    git merge upstream/master
    

    (See the github Syncing a fork docs for more info)

    链接地址: http://www.djcxy.com/p/18060.html

    上一篇: 更新拉取请求(添加提交)

    下一篇: 如何更新github上的分支