SVN:递归忽略某些目录 [英] SVN: Ignore some directories recursively

查看:235
本文介绍了SVN:递归忽略某些目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论树有多深,我都不希望任何名为builddist的目录进入我的SVN.

I don't want any directory named build or dist to go into my SVN no matter how deep in the tree it is.

这可能吗?在git中,我只是放了

Is this possible? In git I just put

build
dist

在我的.gitignore根目录中的

,它递归地忽略.我该如何使用svn?请不要告诉我在每个父目录上做一个propset ...

in my .gitignore at the root and it recursively ignores. How do I do this with svn? Please don't tell me to do a propset on every parent dir...

推荐答案

从版本1.8开始,现在有svn:global-ignores属性的作用与svn:ignore相似,但是是递归的(因此请在顶级目录中进行设置)

As of subversion 1.8, there is now the svn:global-ignores property which works like svn:ignore but recursively (so set this on your top-level directory)

这篇关于SVN:递归忽略某些目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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