在 Linux 上使用 Team Explorer Everywhere 设置工作区
我在使用 Team Explorer Everywhere 命令行客户端 (TEE-CLC-10.0.0) 创建工作区并从 Team Foundation Server 下载文件时遇到问题。我已经创建了工作区:
$ ../tfs/TEE-CLC-10.0.0/tf -login:secretUsername,secretPassword -server:http://secretHost:8080 workspace -new KOLOBI
Workspace 'KOLOBI2' created.
然后我想将文件从服务器下载到我的工作区:
$ ../tfs/TEE-CLC-10.0.0/tf -login:secretUsername,secretPassword -server:http://secretHost:8080 get -recursive -all -force .
An argument error occurred: Items must reside in a workspace that has been previously used on this computer.
我想我错过了一个步骤,即将本地目录添加到工作区或类似的东西。但我不知道如何才能下载文件。
Im having trouble creating a workspace and downloading the files from a Team Foundation Server using the Team Explorer Everywhere command line client (TEE-CLC-10.0.0). I've gotten as far as creating workspace:
$ ../tfs/TEE-CLC-10.0.0/tf -login:secretUsername,secretPassword -server:http://secretHost:8080 workspace -new KOLOBI
Workspace 'KOLOBI2' created.
Then I want to download files from the server to my workspace:
$ ../tfs/TEE-CLC-10.0.0/tf -login:secretUsername,secretPassword -server:http://secretHost:8080 get -recursive -all -force .
An argument error occurred: Items must reside in a workspace that has been previously used on this computer.
I guess I'm missing one step which is to add local directories to the workspace or something like that. But I can't figure out how to do it to be able to download the files.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要在本地文件夹和您希望对应的服务器项目之间创建工作文件夹映射。
例如:
然后从
/home/me/project
目录(或您选择的任何目录),您可以执行tf get .
You'll need to create working folder mappings between your local folder and the server items you wish to correspond to.
For example:
Then from the
/home/me/project
directory (or whatever you pick), you can just executetf get .