在 Linux 上使用 Team Explorer Everywhere 设置工作区 [英] Setting up a workspace using Team Explorer Everywhere on Linux

查看:46
本文介绍了在 Linux 上使用 Team Explorer Everywhere 设置工作区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用 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.

推荐答案

您需要在本地文件夹和您希望对应的服务器项目之间创建工作文件夹映射.

You'll need to create working folder mappings between your local folder and the server items you wish to correspond to.

例如:

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆