Android Studio下Svn忽略文件配置的几种方法

(一)新建项目的时候Android Studio向导会创建两个.gitignore,对应的,我们创建两个.svnignore就可以了。里面配置信息可以参考.gitignore,具体配置信息可以参考

github推荐的.gitignore写法


# built application files
*.apk
*.ap_
 
# files for the dex VM
*.dex
 
# Java class files
*.class
 
# built native files
*.o
*.so
 
# generated files
bin/
gen/
 
# Ignore gradle files
.gradle/
build/
 
# Local configuration file (sdk path, etc)
local.properties
 
# Proguard folder generated by Eclipse
proguard/
 
# Eclipse Metadata
.metadata/
 
# Mac OS X clutter
*.DS_Store
 
# Intellij IDEA (see https://intellij-support.jetbrains.com/entries/23393067)
.idea/workspace.xml
.idea/tasks.xml
.idea/datasources.xml
.idea/dataSources.ids


http://myshittycode.com/2013/12/02/intellij-configuring-svn-ignored-files/

SOLUTION 2: Add Ignored Files Using IntelliJ

Based on the example above, there are 5 things we need to ignore:-

  • epicapp-ear/target/ directory
  • epicapp-war/target/ directory
  • target/ directory
  • .idea/ directory

你可能感兴趣的:(android,android,studio,.gitignore,svn,.svnignore)