.gitignore is very important. This file tells git which files not to care about. I found a good template for android .gitignore:
.metadata tmp/** .DS_Store *.tmp *.bak tmp/**/* *.swp *~.nib Thumbs.db Desktop.ini *~ *.apk bin gen local.properties *.jar **.classpath** The only thing I have added is the last row: .classpath.
J. Pablo Fernández - Apr 2, 2011
Thanks for pointing to the missing .classpath, it’s now fixed on gitignore.com.
Thank you Pablo for update the android post on your important gitignore site
I added even
.log entry to my .gitignore because there were some .log-files in the root directory.