如何下载TFS架子集 [英] How to download TFS shelveset

查看:133
本文介绍了如何下载TFS架子集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从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:

  1. 创建新的工作区,但不下载任何内容(即未获取最新版本)
  2. 那应该创建一个空的本地文件夹
  3. 使用Visual Studio或tf.exe取消搁置
  4. 您应该仅架子集中的文件
  1. Create new workspace, but do not download anything (i.e. do not get the latest version)
  2. That should create an empty local folder
  3. Do unshelve by using either Visual Studio or tf.exe
  4. 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屋!

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