Skip to content

Instantly share code, notes, and snippets.

@danielnv18
Last active August 29, 2015 14:01
Show Gist options
  • Save danielnv18/f801f1b43ceebfdd69b6 to your computer and use it in GitHub Desktop.
Save danielnv18/f801f1b43ceebfdd69b6 to your computer and use it in GitHub Desktop.
Git ignore for drupal projects
# Ignore configuration files that may contain sensitive information.
sites/*/settings*.php
# Ignore paths that contain user-generated content.
/sites/*/files
/sites/*/private
/files/*
/cache
# Packages #
############
*.7z
*.dmg
*.gz
*.bz2
*.iso
*.jar
*.rar
*.tar
*.zip
*.tgz
# Logs and databases #
######################
*.log
*.sql
# OS generated files #
######################
.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
._*
# Vim generated files #
######################
*.un~
# SASS #
##########
.sass-cache
sites/all/themes/*/.sass-cache/*
# Nodejs Modules #
#################
sites/all/themes/*/node_modules/*
# IDE Files #
#############
/.idea/
/nbproject/
# Vagrant & Puppet #
####################
/.vagrant/*
# SVN Files #
####################
.svn/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment