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
现在您没有提到具体的版本,但我很确定从第一个版本开始它就一直在tf.exe中。
要获取解决方案目录的最新版本,只需导航到命令行上的映射目录,然后执行:
tf.exe get * -recursive