In eclipse, I had the custom of adding bin and gen directories to svn ignore. But now, using Android Studio (based on IntelliJ IDEA), what files should I ignore.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I added the following items in my .gitignore
, it should be the same for SVN:
- gradle
- .idea
- *.iml
- build
- .DS_Store (for mac only)
回答2:
See this IntelliJ IDEA KB article: "How to manage projects under Version Control Systems".
Add to Subversion:
- all files under
/.idea
directory in the project root but ignore workspace.xml and tasks.xml, - all .iml module files.
回答3:
I've used the following SVN ignore list sucessfully:
.gradle
local.properties
.idea/workspace.xml
.idea/libraries
.DS_Store
build
The ignore should be applied recursively.
Reference: Same question, for git