Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

isarmstrong commented Dec 18, 2014

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
You can’t perform that action at this time.