简体   繁体   English

将特定的github分支合并到gerrit中

[英]Merge specific github branch into gerrit

I have github repository in that i have many branches.我有 github 存储库,因为我有很多分支。 From that one branch let's say upstream_release needs to be merged with gerrit repository branch.从那个分支假设upstream_release需要与 gerrit 存储库分支合并。 Even in my gerrit also i have many branches, but in gerrit i need to create new branch and merge my github changes.即使在我的 gerrit 中我也有很多分支,但是在 gerrit 中我需要创建新分支并合并我的 github 更改。

Please let me know the possible ways to achieve this.请让我知道实现这一目标的可能方法。 Thanks in advance.提前致谢。

Login to Github Desktop.登录 Github 桌面。 Follow the below 3 steps.请遵循以下 3 个步骤。

  1. In GitHub Desktop, click Current Branch.在 GitHub 桌面中,单击当前分支。
  2. Click Choose a branch to merge into BRANCH.单击选择要合并到 BRANCH 的分支。
  3. Click the branch you want to merge into the current branch, then click Merge BRANCH into BRANCH.单击要合并到当前分支的分支,然后单击将分支合并到分支。

Note: If there are merge conflicts, GitHub Desktop will warn you above the Merge BRANCH into BRANCH button.注意:如果存在合并冲突,GitHub Desktop 会在 Merge BRANCH into BRANCH 按钮上方警告您。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM