如何下载TFS架子集 [英] How to download TFS shelveset
问题描述
我需要从TFS将书架集下载到本地文件夹.是否有用于Visual Studio 2010的工具或加载项以下载架子集
I need to download a shelveset from TFS to a local folder. Is there any tools or add-in for Visual studio 2010 to download shelveset
推荐答案
如果您只需要从架子集中将文件保存到本地文件夹,这是一个正常过程,称为 搁置 . 它将文件下载到您的本地文件夹.
If you just need to get the files from the shelveset to your local folder, this is a normal process and called Unshelve. It downloads the files to your local folder.
例如,在取消搁置之前,您在本地文件夹中具有以下内容:
For example, before unshelve you had the following in your local folder:
- 文件1
- 文件2
- File 1
- File 2
货架集具有:
- 文件1 (已修改)
- 文件3 (已创建)
- File 1 (Modified)
- File 3 (Created)
搁置后:
- 文件1 (已更新)
- 文件2
- 文件3 (已添加)
- File 1 (Updated)
- File 2
- File 3 (Added)
如果您只需要工作区文件夹中的架子集中的文件,而无需执行其他任何操作,则一种方法是:
If you need to have only the files from the shelveset in your workspace folder without anything else, one of the ways would be:
- 创建新的工作区,但不下载任何内容(即未获取最新版本)
- 那应该创建一个空的本地文件夹
- 使用Visual Studio或tf.exe取消搁置
- 您应该仅架子集中的文件
- Create new workspace, but do not download anything (i.e. do not get the latest version)
- That should create an empty local folder
- Do unshelve by using either Visual Studio or tf.exe
- You should have only the files from the shelveset
您可以在此处找到有关管理架子集的更多信息: 暂停工作并管理货架(MSDN)
You can find more about managing shelvesets here: Suspend Your Work and Manage Your Shelvesets (MSDN)
这篇关于如何下载TFS架子集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!