git 使用 TortoiseGit 将代码分支合并到 master

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/38202072/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 04:19:33  来源:igfitidea点击:

Merging code branch to master using TortoiseGit

gittortoisegit

提问by angular

I am new in TortoiseGit. I created one branch named Angular. Now I want to merge that code into master, but I don't know how can I merge code branch Angularto masterusing TortoiseGit(not using command prompt).

我是 TortoiseGit 的新手。我创建了一个名为Angular. 现在我想将该代码合并到master,但我不知道如何将代码分支合并Angularmaster使用 TortoiseGit(不使用命令提示符)。

Please help

请帮忙

回答by Grinch91

Switch to the master branch.

切换到主分支。

Right click in the directory you have your repo, go to TortoiseGit->Merge.

右键单击您拥有 repo 的目录,转到 TortoiseGit->Merge。

Select the branch your want to merge into master, then put in your merge message, hit ok

选择你要合并到master的分支,然后输入你的合并信息,点击ok

  1. Checkout Master
  2. TortoiseGit->Merge
  3. Select branch you want to merge, hit ok
  1. 结账大师
  2. TortoiseGit->合并
  3. 选择要合并的分支,点击确定