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
Merging code branch to master using TortoiseGit
提问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 Angular
to master
using TortoiseGit(not using command prompt).
我是 TortoiseGit 的新手。我创建了一个名为Angular
. 现在我想将该代码合并到master
,但我不知道如何将代码分支合并Angular
到master
使用 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
- Checkout Master
- TortoiseGit->Merge
- Select branch you want to merge, hit ok
- 结账大师
- TortoiseGit->合并
- 选择要合并的分支,点击确定