.gitignore - Drupal 7

This page is out of date and needs reviewing.

## Example .gitignore file for Drupal 7 projects

# Ignore configuration files
web/sites/*/settings*.php

# Ignore paths that contain user-generated content
web/sites/*/files
web/sites/*/private

# Ignore .htaccess files as this can be server specific
.htaccess

# Ignore any installed node modules
web/themes/*/node_modules

# Ignore OS and IDE files
.DS_Store
.idea

# Ignore sql files
.sql
.sql.gz
.sql.tgz

Last updated: