TFS 2010-从签入的任务获取文件的特定版本 [英] TFS 2010- Getting a specific version of a file from checked-in task
问题描述
如何从签入的任务文件的特定版本?
How to get specific version of a file from checked-in task?
当我右键点击一个文件,然后选择历史。它显示更改设置我的更改集,当点击右键并选择得到这个版本,那么它需要该版本的其他文件还。但我需要只有一个文件的特定版本。
When I right click on a file and select history. It shows me "change set" and when right click on "change set" and select "get this version" then it takes other files also of that version. But I need to take specific version of only one file.
推荐答案
如果你右击源代码控制浏览器的文件,并选择高级 - >得到具体的版本,你可以选择你想要的文件的版本。您可以通过变更等从那里寻找。
if you right click on your file in source control explorer and select Advanced->Get Specific Version you can select which version of the file you want. you can search by changeset etc from there.
或者命令通过日线:
or by command line by date:
tf.exe get c:\myproject\mybranch\myfile.txt /v:D"2013-11-23"
或变更数
tf.exe get c:\myproject\mybranch\myfile.txt /v:C12345
您可以通过历史命令看到变更号码:
you can see the changeset numbers by the History command:
tf.exe history c:\myproject\mybranch\myfile.txt
这篇关于TFS 2010-从签入的任务获取文件的特定版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!