在Linux上使用Team Explorer Everywhere设置工作区 [英] Setting up a workspace using Team Explorer Everywhere on Linux
问题描述
我在使用Team Explorer Everywhere命令行客户端(TEE-CLC-10.0.0)创建工作区和从Team Foundation Server下载文件时遇到问题。我已经创建了工作空间:
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.
推荐答案
您需要创建
例如:
tf workfold -map -login:secretUsername,secretPassword -server:http://secretHost:8080 -workspace:KOLOBI '$/TeamProject/Project' '/home/me/project'
然后从 / home / me / project
(或任何你选择),你可以执行 tf get。
Then from the /home/me/project
directory (or whatever you pick), you can just execute tf get .
这篇关于在Linux上使用Team Explorer Everywhere设置工作区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!