Skip to content

Instantly share code, notes, and snippets.

@Swader
Last active March 4, 2022 21:18
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save Swader/7844111 to your computer and use it in GitHub Desktop.
Save Swader/7844111 to your computer and use it in GitHub Desktop.
ultimate-gitignore
# Composer
vendor
composer.phar
# IntelliJ - PhpStorm and PyCharm
.idea
*.ipr
*.iws
# Eclipse
/.project
/.settings
/.classpath
# Logs
logs
error.log
access.log
# Netbeans
nbproject
.nbproject
.nbproject/*
nbproject/*
nbproject/private/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml
# Mac OSX
.DS_Store
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
# SublimeText project files
/*.sublime-project
*.sublime-workspace
# Dart
packages
packages/*
# Vagrant
.vagrant
.vagrant/*
.env
# OpenZeppelin SDK
.openzeppelin/dev-*.json
.openzeppelin/.session
@javacraft
Copy link

javacraft commented Jan 8, 2017

A good start, but a falls a little short as an ultimate solution. How about adding Eclipse and Maven artifacts that can be ignored?

# Eclipse
/.project
/.settings
/.classpath

# Maven
/target

@Swader
Copy link
Author

Swader commented Jul 9, 2017

Maven is a little generic, the target folder may very well exist in some projects as a normal folder in the root. But nice job on Eclipse, added.

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