android studio中使用svn详解
Android Studio创建的Android项目一般需要忽略
1、.idea文件夹2、.gradle文件夹 3、所有的build文件夹 4、所有的.iml文件 5、local.properties文件。 方法一、在项目的.idea/workspace.xml的文件里设置
|
....
实质时在workspace.xml生成配置文件信息
参考:https://blog.csdn.net/qq_22780533/article/details/51965007
配置git的忽略文件 .gitignore
参考:https://www.cnblogs.com/kevingrace/p/5690241.html
-
<?xml version= "1.0" encoding= "UTF-8"?>
-
<project>
-
<component name= "ChangeListManager">
-
...
-
<ignored path= ".gradle/" />
-
<ignored path= ".idea/" />
-
<ignored path= "gradle/" />
-
<ignored path= "项目名/build/" />
-
<ignored path= "gradlew" />
-
<ignored path= "gradlew.bat" />
-
<ignored mask= "*.iml" />
-
<ignored path= "local.properties" />
-
<ignored path= "build/" />
-
<ignored mask= "*.apk" />
-
</component>
-
.