来源:https://help.github.com/articles/merging-an-upstream-repository-into-your-fork/
第一步,在fork下切换至需被合并的branch下
[code lang="bash"]git checkout master[/code]
第二步,拉取上游代码
[code lang="bash"]git pull https://github.com/ORIGINAL_OWNER ORIGINAL_REPOSITORY.git BRANCH_NAME[/code]
第三步,上传合并后的代码
[code lang="bash"]git push origin master[/code]
[wpedon id=230]
没有评论:
发表评论