Skip to content

Instantly share code, notes, and snippets.

@bmchild
Created December 4, 2012 20:07
Show Gist options
  • Save bmchild/4208147 to your computer and use it in GitHub Desktop.
Save bmchild/4208147 to your computer and use it in GitHub Desktop.
GitIgnore for a Java Eclipse project
# Directories #
/build/
/bin/
target/
# OS Files #
.DS_Store
*.class
# Package Files #
*.jar
*.war
*.ear
*.db
######################
# Windows
######################
# Windows image file caches
Thumbs.db
# Folder config file
Desktop.ini
######################
# OSX
######################
.DS_Store
.svn
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
######################
# Eclipse
######################
*.pydevproject
.project
.metadata
bin/**
tmp/**
tmp/**/*
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath
/src/main/resources/rebel.xml
# External tool builders
.externalToolBuilders/
# Locally stored "Eclipse launch configurations"
*.launch
# CDT-specific
.cproject
# PDT-specific
.buildpath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment