How do I update a GitHub forked repository?

前端 未结 23 2810
借酒劲吻你
借酒劲吻你 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:45

    rm -rf oldrepository
    git clone ...
    

    There may be subtler options, but it is the only way that I have any confidence that my local repository is the same as upstream.

提交回复
热议问题