How to do a GitHub “merge branch”?

前端 未结 1 560
渐次进展
渐次进展 2021-01-27 10:00

When I have at Github a main (master) project

 https://github.com/MyUser/MyProject

and some active but non-default branch, l

相关标签:
1条回答
  • 2021-01-27 10:29

    This only works if the branches are compatible, but that can be said as well from the command line.

    Go to the branch using the branch drop down on the repository page. once you are on the branch, click the green pull request icon beside it. It will create a pull request to move all commits from your branch into your master repository.

    If the branches are compatible, you should be now able to click merge.

    Make sure the merge direction is right reviewing the commit history!

    0 讨论(0)
提交回复
热议问题