如何正确配置 TortoiseSVN 的“全局忽略模式"? [英] How do I configure the TortoiseSVN 'Global ignore pattern' properly?
问题描述
我希望 TortoiseSVN (1.5.3) 忽略某些文件夹、它们的内容和某些其他文件,它们可能出现在我的目录层次结构中的任何位置,但我无法正确设置全局忽略字符串.
I would like TortoiseSVN (1.5.3) to ignore certain folders, their contents and certain other files wherever they might appear in my directory hierarchy but I cannot get the global ignore string right.
无论我做什么,它要么增加太多,要么忽略太多
Whatever I do, it either adds to much or ignores too much
要忽略的正确全局忽略模式"是什么....
What is the correct 'Global ignore pattern' to ignore....
Folders : bin obj release compile
Files : *.bak *.user *.suo
更新:为了帮助澄清...是的,我在 Windows 上使用它.
Update: To help clarify... yes I am using this on windows.
推荐答案
目前我的全局忽略模式中有以下内容:
Currently I have the following in my Global Ignore Pattern:
bin obj CVS .cvsignore *.user *.suo Debug Release *.pdb test.* Thumbs.db
可以很好地忽略几个隐藏或临时文件/文件夹....
Works really well to ignore several hidden or temp files/folders....
所以对于您的特定要求:
So for your specific requirements:
- 文件夹:
bin obj release compile
- 文件:
*.bak *.user *.suo
我会使用:
bin obj release compile *.bak *.user *.suo
这篇关于如何正确配置 TortoiseSVN 的“全局忽略模式"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!