How do I update a GitHub forked repository?

前端 未结 23 2855
借酒劲吻你
借酒劲吻你 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条回答
  •  猫巷女王i
    2020-11-21 12:06

    I update my forked repos with this one line:

    git pull https://github.com/forkuser/forkedrepo.git branch
    

    Use this if you dont want to add another remote endpoint to your project, as other solutions posted here.

提交回复
热议问题