How do I update a GitHub forked repository?

前端 未结 23 3256
借酒劲吻你
借酒劲吻你 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 12:02

    Follow the below steps. I tried them and it helped me.

    Checkout to your branch

    Syntax: git branch yourDevelopmentBranch
    Example: git checkout master

    Pull source repository branch for getting the latest code

    Syntax: git pull https://github.com/tastejs/awesome-app-ideas master
    Example: git pull https://github.com/ORIGINAL_OWNER/ORIGINAL_REPO.git BRANCH_NAME

提交回复
热议问题