Team Foundation Server在分支之间切换 [英] Team Foundation Server switch between branches

查看:69
本文介绍了Team Foundation Server在分支之间切换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以在TFS中的分支之间切换吗?

Can we switch between branches in TFS

我要下载的是工作副本,现在我想切换到其他分支而不下载所有内容,因为项目,因为开发人员花费大量时间下载

what i want is i downloaded a working copy and now I want to switch to different branch without downloading everything, because for large projects it will take lot of time since developers spend lot of time downloading

是否有可能(如果没有解决方法的话)?

Is it possible, if not any workaround ??

推荐答案

您可以通过更改工作区映射并使用 / remap 标记到 get 命令:

You can switch branches from the command-line client (only downloading the differences) by changing your workspace mappings and using the /remap flag to the get command:

tf workfold /map $/Branch1 C:\Work
tf get C:\Work /version:T /recursive
tf workfold /unmap $/Branch1
tf workfold /map $/Branch2 C:\Work
tf get C:\Work /remap /version:T /recursive

这篇关于Team Foundation Server在分支之间切换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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