Skip to content

Instantly share code, notes, and snippets.

@AlexKorovyansky
Created January 14, 2015 10:32
Show Gist options
  • Save AlexKorovyansky/c604a2ed4160fe6005c8 to your computer and use it in GitHub Desktop.
Save AlexKorovyansky/c604a2ed4160fe6005c8 to your computer and use it in GitHub Desktop.
.gitignore for Android Studio project
.DS_Store
/local.properties
# IDEA/Android Studio project files, because
# the project can be imported from settings.gradle
.idea
*.iml
# Old-style IDEA project files
*.ipr
*.iws
# Gradle cache
.gradle/
# Generated files
/build
@AlexKorovyansky
Copy link
Author

If you want to share code inspections with other developers (likely very useful for teams who has strict agreement about usage IDEA/AS for development), it's better to ignore only workspace.xml and tasks.xml in .idea folder, instead of entire folder. https://intellij-support.jetbrains.com/hc/en-us/articles/206827587-How-to-manage-projects-under-Version-Control-Systems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment