[英]Which files should I add to SVN ignore for an Android Studio project?
In Eclipse, I had the custom of adding bin and gen directories to SVN ignore.在 Eclipse 中,我习惯于将 bin 和 gen 目录添加到 SVN 忽略。 But now, using Android Studio (based on IntelliJ IDEA), which files should I ignore?
但是现在,使用 Android Studio(基于 IntelliJ IDEA),我应该忽略哪些文件?
I added the following items in my .gitignore
, it should be the same for SVN:我在我的
.gitignore
添加了以下项目,对于 SVN 应该是相同的:
See this IntelliJ IDEA KB article: "How to manage projects under Version Control Systems" .请参阅此 IntelliJ IDEA KB 文章: “如何在版本控制系统下管理项目” 。
Add to Subversion:添加到颠覆:
/.idea
directory in the project root but ignore workspace.xml and tasks.xml ,/.idea
目录下的所有文件,但忽略workspace.xml和tasks.xml ,I've used the following SVN ignore list sucessfully:我已成功使用以下 SVN 忽略列表:
.gradle
local.properties
.idea/workspace.xml
.idea/libraries
.DS_Store
build
The ignore should be applied recursively.忽略应递归应用。
Reference: Same question, for git参考: 同样的问题,对于 git
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.