Skip to content

Instantly share code, notes, and snippets.

@danielesegato
Last active May 5, 2017 01:06
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielesegato/fdc35a0671852cd1cd87 to your computer and use it in GitHub Desktop.
Save danielesegato/fdc35a0671852cd1cd87 to your computer and use it in GitHub Desktop.
Android development Git Ignores
# Android
gen/
build/
local.properties
# Old Android
bin/
proguard/
# suggestion: also ignore libs/*.properties files for old eclipse project
# can't be added here because multiple libs/ directory can be around in different paths
# Idea
# According to thisi
# http://intellij-support.jetbrains.com/entries/23393067 and http://devnet.jetbrains.com/docs/DOC-1186
# I shouldn't ignore some stuff I actually ignore.. but looking at the content I see environment stuffs in it.
# I followed this with some modification of mine:
# https://medium.com/sebs-top-tips/share-the-settings-with-the-whole-team-android-studio-protip-6-3cce16eb2ea4
*.iml
*.ipr
*.iws
# uncomment this line to check for other files you may want to exclude
**/.idea/*
# regardless I never want to share these stuff
**/.idea/workspace.xml
**/.idea/tasks.xml
**/.idea/datasources.xml
**/.idea/dataSources.ids
**/.idea/gradle.xml
**/.idea/misc.xml
**/.idea/modules.xml
**/.idea/libraries
**/.idea/dictionaries
# excludes... I WANT to share this stuff
!**/.idea/.name
# Settings -> Code Style -> Manage -> Copy to project
!**/.idea/codeStyleSettings.xml
# still unsure about these stuff
!**/.idea/compiler.xml
!**/.idea/copyright/profiles_settings.xml
!**/.idea/encodings.xml
!**/.idea/runConfigurations.xml
!**/.idea/vcs.xml
.gradle/
out
# Eclipse
.project
.classpath
.settings
# Eclipse NDK
.cproject
# Mac
.DS_Store
# Generic
*~
.swp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment