aba*_*hev 6 tfs console-application getlatest
目前,我找到了两种获取最新版本的方法 - 使用Team Explorer在Visual Studio中使用TFS Power Tools Shell Extensions在Windows资源管理器中.
因为我们的TFS服务器所处的位置与使用它的开发人员相差甚远,因此非常慢并且经常挂在应用程序(VS/Explorer)上.因此,我希望在操作系统中运行Get,以最大限度地减少操作期间的操作系统负载.
似乎tf.exe和tfpt.exe都不包含Get之类的内容.
还有别的吗?
dri*_*iis 11
TF.exe确实有一个get命令.以下是输出TF.exe get -?
TF - Team Foundation Version Control Tool, Version 10.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
Retrieves a read-only copy of a file from Team Foundation Server to the local
workspace and creates folders on disk to contain it.
tf get itemspec [/version:versionspec] [/all] [/overwrite] [/force] [/preview]
[/recursive] [/remap] [/noprompt] [/login:username,[password]]
Versionspec:
Date/Time D"any .Net Framework-supported format"
or any of the date formats of the local machine
Changeset number Cnnnnnn
Label Llabelname
Latest version T
Workspace Wworkspacename;workspaceowner
Run Code Online (Sandbox Code Playgroud)
现在你没有提到特定的版本,但我很确定自首次发布以来它一直在TF.exe中.
要获取最新版本的解决方案目录,只需导航到命令行上的映射目录,然后执行:
tf.exe get * -recursive
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2132 次 |
| 最近记录: |