简体   繁体   English

使用GIT从分支合并到主干的VS2015

[英]VS2015 using GIT Merging from Branch to Trunk

I am new to using Git with VS 2015 and come from a TFS background. 我是在VS 2015中使用Git的新手,并且来自TFS背景。 I am sure the answer is in my face but I don't know what to do. 我确定答案就在我的脸上,但是我不知道该怎么办。

I created a branch and now want to merge my changes into the master. 我创建了一个分支,现在想将所做的更改合并到主数据库中。 I am using VS 2015, I do NOT use nor am familiar with nor can speak logically about BASH, CLI or any of that command line stuff :-) I am using the GUI here. 我正在使用VS 2015,我使用也不熟悉BASH,CLI或任何命令行内容 :-)我在这里使用GUI。 I say this because there are plenty of article on how to accomplish this using the CLI but I don't have the time to engage in this learning endeavor. 我之所以这样说,是因为有很多文章介绍如何使用CLI来完成此工作,但是我没有时间从事这项学习工作。

Thanks in advance for your assistance. 提前感谢你的帮助。

I want to merge codeCleanup into master. 我想将codeCleanup合并到master。 (see below) what do I do? (见下文)我该怎么办? 在此处输入图片说明

Switch to your master branch, then select "Merge" 切换到您的主分支,然后选择“合并”

合并

Then select your working branch and merge that into your current branch (master) 然后选择您的工作分支并将其合并到当前分支(主)中 在此处输入图片说明

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

相关问题 在VSO或VS2015中创建Git分支标记 - Creating Git branch tag in VSO or VS2015 我做错了吗? 将SVN更改从trunk更改为git分支。 使用merge --squash - Am I doing it wrong? Merging SVN changes from trunk into a git branch. Using merge --squash VS2015,Git和撤消 - VS2015, Git and undo 无法拉动,因为使用VS2015 / Git有未提交的更改 - Cannot pull because there are uncommitted changes using VS2015/Git 在使用git的基于干线的开发(TBD)模型中,从干线分支的哪个点创建了发行​​分支? - In Trunk Based Development (TBD) model using git from what point on trunk branch the release branch is created? 使用tfs git存储库切换vs2015中的分支时访问被拒绝Microsoft.Bcl.Build - Access denied Microsoft.Bcl.Build when switching branch in vs2015 with tfs git repository 使用Git合并分支 - Merging Branch using Git 将Git和Github源代码控制的vs2013升级到vs2015(而不是使用Subversion AnkhSVN),这合理吗? - Upgrade vs2013 to vs2015 for Git and Github source control (instead of using subversion AnkhSVN), Is this reasonable? Git:使用 Kdiff3 从另一个分支合并到一个分支 - Git: Merging to a branch from another branch using Kdiff3 Git不会忽略任何.vs文件夹(VS2015) - Git is not ignoring neither checking out .vs folder (VS2015)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM