如何使用TortoiseSVN仅检出(下拉)SVN树的仅一部分? [英] How do I only Checkout (pull down) only parts of an SVN tree with TortoiseSVN?

查看:225
本文介绍了如何使用TortoiseSVN仅检出(下拉)SVN树的仅一部分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用TortoiseSVN,并且想将现有存储库签出到本地目录中.但是,我只想下拉文件树的某些部分.有办法吗?

I'm using TortoiseSVN and I want to do a Checkout of an existing repository into a local directory. However, I only want to pull down certain portions of the file tree. Is there a way I can do that?

例如:

/trunk
    /project-A
    /project-B
    /project-C

比方说,我只想拉下行李箱,项目A和项目B.我该怎么办?

Let's say I just want to pull down trunk, project-A and project-B. How do I do that?

推荐答案

您似乎很成功,但是我希望提供逐步指南,希望对其他人有所帮助.

It looks like you were successful but I wanted to include a step-by-step guide in the hopes that it is helpful to others.

  1. trunk检出到深度=仅此项目"的工作副本中
  2. 打开工作副本
  3. 转到工作副本中的回购浏览器
  4. 选择所需的项目子文件夹,右键单击并选择将项目更新到修订"
  1. Checkout trunk into a working copy with depth = "Only this item"
  2. Open working copy
  3. Go to repo browser from the working copy
  4. Select your desired project subfolder(s), right-click and select "Update item to revision"

这只会将您选择的子文件夹拉入工作副本.

This will pull only the subfolder(s) you've selected into your working copy.

这篇关于如何使用TortoiseSVN仅检出(下拉)SVN树的仅一部分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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