使用github windows客户端的时候,在需要Pull request的时候发现changes里面好多多余的冗杂文件 于是搜索了一下。参考:Android Studio 中 .gitignore 的编写
配置如下:
#built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class
# generated files
bin/
gen/
out/
build/
# Local configuration file (sdk path, etc)
local.properties
# Windows thumbnail db
Thumbs.db
# OSX files
.DS_Store
# Eclipse project files
.classpath
.project
# Android Studio
*.iml
.idea
# Local IDEA workspace
.idea/workspace.xml
# Gradle cache
.gradle
#NDK
obj/