是否可以使用某些控制台客户端获取 TFS 的最新版本?

发布于 2024-09-10 07:26:21 字数 264 浏览 3 评论 0原文

目前,我找到了两种获取最新版本的方法 - 在 Visual Studio 中使用团队资源管理器,以及在 Windows 资源管理器中使用 TFS Power Tools Shell 扩展。

由于我们的 TFS 服务器位置与开发人员相距甚远,因此使用它的速度非常慢,并且经常挂在应用程序(VS/Explorer)上。所以我想在控制台中运行 Get 以最小化操作期间操作系统的负载。

似乎 tf.exe 和 tfpt.exe 都不包含 Get 之类的内容。

还有别的吗?

Currently I found two ways to get the latest version - in Visual Studio using Team Explorer and in Windows Explorer using TFS Power Tools Shell Extensions.

Because our TFS server is located vary far from developers working with it is very slow and very often hangs on an application (VS/Explorer). So I want to run Get in console to minimize the load on OS during the oepration.

It seems that both tf.exe and tfpt.exe doesn't contain anything like Get.

Are there anything else?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

风筝有风,海豚有海 2024-09-17 07:26:21

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

TF.exe does have a get command. The following is the output of 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

Now you don't mention a specific version, but I am pretty sure it has been in TF.exe since first release.

To get latest version of a solution directory, simply navigate to the mapped directory on the command line, and execute:

tf.exe get * -recursive
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文