首页 > 代码库 > android项目的.gitignore配置

android项目的.gitignore配置

往github上传代码的时候,很多文件没必要都传,这就需要在.gitignore文件里配置一下过滤规则。在此记录一下各种项目的配置参数,先从最近做的android开始。

eclipse:

.idea/**/*

Android项目:

# Built application files*.apk*.ap_# Files for the Dalvik VM*.dex# Java class files*.class# Generated filesbin/gen/# Gradle files.gradle/build/# Local configuration file (sdk path, etc)local.properties# Proguard folder generated by Eclipseproguard/# Log Files*.log

 

android项目的.gitignore配置