Android & IntelliJ Git ignores

SneWs's picture

Add the following entries to your .gitignore if you're using IDEA IntelliJ for Android development.
Since the ignore list will ignore jar files, you'll need to use git add -f if you need to add any lib's in the form of jar files.

# IDEA Ignores
*.iml
*.ipr
*.iws
.idea/
local.properties

# Generic Android ignores
bin/
target
gen/

It's also published at the awesome site gitignore; http://gitignore.com/posts/idea-android-development/

Enjoy!

Post new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
© 2008 - 2017 Marcus Grenängen. Drupal theme by Kiwi Themes.