简体   繁体   English

如何将本地分支合并到TFS中

[英]How do I merge a local branch into TFS

I did a stupid thing and branched my project on my local disk instead of doing it on the TFS. 我做了一个愚蠢的事情,然后将项目分支到本地磁盘上,而不是在TFS上进行。 So now I have two projects on my disk: the old one which has TFS bindings and the new, which doesn't. 所以现在我的磁盘上有两个项目:旧的有TFS绑定的项目,新的没有TFS绑定的项目。 I want to merge those changes back into the TFS project. 我想将这些更改重新合并到TFS项目中。 How would I go about doing that? 我将如何去做? I can't do Compare because my local branch has no TFS bindings. 我无法进行比较,因为我的本地分支没有TFS绑定。 There should be some way to compare the differences between the two projects locally and then meld the differences into the old project and check-in, but I can't find an easy way of doing that. 应该有某种方法可以比较本地两个项目之间的差异,然后将差异融合到旧项目中并签入,但是我找不到一种简便的方法。 Any other solutions? 还有其他解决方案吗?

How about using a 3rd party tool to compare and merge. 如何使用第三方工具进行比较和合并。 You can always do a get on the source (c:\\tfs\\solution) and compare it with the local project (c:\\myLocalSolution). 您始终可以获取源代码(c:\\ tfs \\ solution),并将其与本地项目(c:\\ myLocalSolution)进行比较。 Check out the entire tfs solution for edit before merging your local to the tfs. 在将本地合并到tfs之前,请先检查整个tfs解决方案以进行编辑。

暂无
暂无

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

相关问题 如何合并整个TFS分支 - How to merge entire TFS branch 我如何在TFS中获得自动合并注释 - How do i get an automatic merge comment in TFS 有没有办法在切换本地文件夹后不获取整个分支(在TFS中)? - Is there a way to not do a get on the entire branch (in TFS) after switching the local folder? 在TFS的分支中删除合并历史记录 - Delete merge history in a branch in TFS 如何将当前主分支合并到我的分支 visual studio/azure devops? - How do I merge current master branch into my branch visual studio/azure devops? 如何在Visual Studio 2010的TFS 2008中为所有冲突“获取源分支版本”? - How do I “Take Source Branch Version” for all conflicts in TFS 2008 on Visual Studio 2010? TFS Visual Studio 2010中,某些类型的“合并工具选项”中没有显示“合并更改”。 如何启用它? - TFS Visual studio 2010, I do not see Merge Changes in Merge Tool Option for some types. How can I enable it? 如何通过从另一个分支复制本地内容从 TFS 中的新分支中提取 - How to pull from a new branch in TFS by copying local contents from another branch 如何根据先前使用 TFS 的更改集执行前向合并? - How do I perform a forward-merge based on a previous change set with TFS? 如何在Visual Studio团队资源管理器中一次性接受多个文件中的Git分支合并更改? - How do I accept Git branch merge changes in multiple files in one go in Visual Studio Team Explorer?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM