Skip to content

Instantly share code, notes, and snippets.

@Swader
Created November 21, 2013 15:18
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Swader/7583361 to your computer and use it in GitHub Desktop.
Save Swader/7583361 to your computer and use it in GitHub Desktop.
A wildcard gitignore file
# Composer
vendor
vendor/*
!public/assets/js/vendor
!public/assets/js/vendor/*
!public/assets/css/vendor
!public/assets/css/vendor/*
composer.phar
composer.lock
# IntelliJ - PhpStorm and PyCharm
.idea
.idea/
.idea/*
*.iml
*.ipr
*.iws
# Logs
error.log
access.log
# Netbeans
nbproject
.nbproject
.nbproject/*
nbproject/*
nbproject/private/
build/
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
@isarmstrong
Copy link

Nice gist, very useful for multi-dev environments.

Consider ignoring anything called /.sass-cache/ as well. The most flexible (but not the most efficient) example would be: */.sass-cache/

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