How do I update a GitHub forked repository?

前端 未结 23 2853
借酒劲吻你
借酒劲吻你 2020-11-21 11:07

I recently forked a project and applied several fixes. I then created a pull request which was then accepted.

A few days later another change was made by another con

23条回答
  •  眼角桃花
    2020-11-21 11:51

    If you set your upstream. Check with git remote -v, then this will suffice.

    git fetch upstream
    git checkout master
    git merge --no-edit upstream/master
    git push
    

提交回复
热议问题