如何在 Eclipse 中编辑/撤消/删除 .svnignore 中的条目?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3852289/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do I edit/undo/remove an entry from .svnignore in Eclipse?
提问by Jeff Axelrod
This seems like a simple problem, but I can't figure out how to edit the svn-ignore list from Eclipse. Strangely I couldn't find how to do so on a web search or on stackoverflow.
这似乎是一个简单的问题,但我不知道如何从 Eclipse 编辑 svn-ignore 列表。奇怪的是,我在网络搜索或 stackoverflow 上找不到这样做的方法。
Thanks!
谢谢!
回答by Jeff Axelrod
- Right click on the folder
- Team meanu → Show Properties
- On the properties tab, click the SVN:ignore line, and edit the value
- Commit the folder
- 右键单击文件夹
- 团队意思 → 显示属性
- 在属性选项卡上,单击 SVN:ignore 行,然后编辑值
- 提交文件夹
回答by bmargulies
There is no such thing as a '.svnignore' file. There is the svn:ignore property of a directory, specifying things to ignore therein. As per another answer, this property can be edited eclipse via Team->Properties.
没有“.svnignore”文件之类的东西。有一个目录的 svn:ignore 属性,指定其中要忽略的内容。根据另一个答案,此属性可以通过 Team->Properties 编辑 eclipse。