简体   繁体   English

如何在Visual Studio 2010的TFS 2008中为所有冲突“获取源分支版本”?

[英]How do I “Take Source Branch Version” for all conflicts in TFS 2008 on Visual Studio 2010?

The closest thing I see to what I want is "AutoResolve All". 我看到的与我想要的最接近的东西是“全部自动解决”。 I don't want to AutoMerge though. 我不想自动合并。

In Visual Studio 2008 I could say I wanted to have the source override on all or the target on all. 在Visual Studio 2008中,我可以说我想对所有源都覆盖源,或者对所有目标都覆盖源。

Where is this option in 2010? 2010年该选项在哪里? Did they take it away? 他们拿走了吗? It looks like my only option is to click "Take Source Branch Version" on all 70 files one by one. 看来,我唯一的选择是在所有70个文件中单击一个“ Take Source Branch Version”。

Select all and click Take Source Version.Note ctrl+A doesn't work. 全选并单击获取源版本。注意ctrl + A不起作用。 So select the first item, hold shift and select the last item. 因此,选择第一项,按住shift键并选择最后一项。

在“解决冲突”窗口中

Check out the TF.EXE command here . 在此处签出TF.EXE命令。

tf.exe resolve ..... /auto:TakeTheirs will "Take Source Branch Version." tf.exe resolve ..... /auto:TakeTheirs将“获取源分支版本”。 My suggestion is to do the resolve, then check your branch and make sure that you have what you expect before you check in. 我的建议是进行解决,然后检查您的分支机构并确保在签入之前具有所需的功能。

tf.exe resolve .... /auto:KeepTheirs will "Keep Target Branch Version" tf.exe resolve .... /auto:KeepTheirs将“保留目标分支版本”

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

相关问题 如何在项目中启用Visual Studio 2008中的所有警告? - How do I enable all warnings in Visual Studio 2008 in a project? 如何为源确定正确的Visual Studio版本? - How do I determine the correct Visual Studio version for source? TFS Server 2008上需要Visual Studio 2008版本 - Visual Studio 2008 version required on TFS Server 2008 无法将Visual Studio 2008连接到TFS 2010 - Can't to connect Visual Studio 2008 to TFS 2010 使用Visual Studio 2010时,如何连接到SQl Server 2008的示例数据库? - How do I connect to sample databases og SQl Server 2008, while using visual studio 2010? 如何解决Visual Studio 2010和Visual Studio 2012之间的冲突 - How to resolve conflicts between Visual Studio 2010 and Visual Studio 2012 如何卸载Visual Studio 2008? - How do I uninstall Visual Studio 2008? 如何使用Visual Studio查找不在TFS源代码管理中的文件? - How can I find files not in TFS source control with Visual Studio? 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? 与 2008 相比,Visual Studio 2010 的性能如何? - How is Visual Studio 2010 performance compared to 2008?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM