“与工作区版本比较”和“与最新版本进行比较”有什么区别?(What is the difference between “Compare with Workspace version” and “Co

编程入门 行业动态 更新时间:2024-10-15 18:25:02
“与工作区版本比较”和“与最新版本进行比较”有什么区别?(What is the difference between “Compare with Workspace version” and “Compare with Latest version”?)

我在使用Visual Studio 2012与TFS。 每当我想比较我的签出文件,我有两个选择可供选择:

与工作区版本进行比较 与最新版本比较

有什么不同 ?

I am using Visual Studio 2012 with TFS. Whenever I want to compare my checked out files, I have two options to choose from:

Compare with workspace version Compare with latest version

What is the difference ?

最满意答案

与最新版本比较似乎很清楚。 它将文件与TFS中的最新版本进行比较。 所以你会得到最新的版本之间的所有差异检查源代码控制和你要比较的文件夹。

与Workspace版本进行比较可能会令人困惑,但实际上很简单。 TFS跟踪您检索到工作空间的文件的版本。 这通常是最新版本,或者非常接近 ,但不一定是这样

使用“ 获取特定版本”选项时,可以将文件的任何版本检索到本地工作区。 您甚至可以从不同的版本检索文件到您的工作区。 当您选择此选项时,将针对当前在您的工作区中的版本进行比较。

比较屏幕

Compare with Latest version seems clear. It compares files against the latest version in TFS. So you'll get all the differences between the very latest version checked into source control and whichever folder you're comparing against.

Compare with Workspace version might be confusing, but is actually pretty simple. TFS keeps track of the version of the file which you've retrieved into your workspace. This is usually the latest version, or pretty close to that, but that doesn't have to be the case.

When using the Get Specific Version option you can retrieve any version of a file to your local workspace. You can even retrieve files from different versions into your workspace. When you select this option, a comparison will be done against the version that is currently in your workspace.

Compare screen

更多推荐

本文发布于:2023-04-27 13:35:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1326439.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:最新版本   有什么区别   版本   工作   difference

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!