What files should I add to SVN ignore in an Projec

2019-01-21 22:17发布

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.

3条回答
淡お忘
2楼-- · 2019-01-21 22:30

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楼-- · 2019-01-21 22:43

I added the following items in my .gitignore, it should be the same for SVN:

  • gradle
  • .idea
  • *.iml
  • build
  • .DS_Store (for mac only)
查看更多
仙女界的扛把子
4楼-- · 2019-01-21 22:44

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

查看更多
登录 后发表回答