Skip to content

Instantly share code, notes, and snippets.

@cnhappier
Created September 2, 2015 11:46
Show Gist options
  • Save cnhappier/c0123acc729c63acd367 to your computer and use it in GitHub Desktop.
Save cnhappier/c0123acc729c63acd367 to your computer and use it in GitHub Desktop.
My git ignore file for java
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Projects #
#####################
.project
.classpath
# Folders #
#####################
bin/
build/
.gradle/
.settings/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment