在 Team Foundation Server 中自动创建工作区 [英] Automating workspace creation in Team Foundation Server

查看:35
本文介绍了在 Team Foundation Server 中自动创建工作区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以根据预先存在的模板"轻松创建工作区?...或代表他人创建工作区的其他方式?

Is there any way to easily create a workspace, based on a pre-existing "template" one? ...or some other way of creating workspace on behalf of others?

推荐答案

您可以使用 tf 工作区 命令.然后您可以使用 tf workfold 映射工作文件夹命令.工作区命令有一个/template 选项

you can create a workspace using a command script using the tf workspace command. Then you can map work folders using the tf workfold command. The workspace command has a /template option

例如:

为某人创建工作区

tf workspace /new Beta1;jenh

然后根据模板创建一个新的

then create a new one based on the template

tf workspace /new /template:Beta1;jenh /server:teamserver2 Beta1;user2

映射文件夹:

tf workfold /map $/projects/project_one C:\localproject1 /workspace:Beta1;user2

这篇关于在 Team Foundation Server 中自动创建工作区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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