Last active
November 29, 2015 18:30
-
-
Save yannickoo/3823612 to your computer and use it in GitHub Desktop.
Enhanced .gitignore file for Drupal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ignore configuration files that may contain sensitive information. | |
sites/*/settings*.php | |
# Ignore paths that contain user-generated content. | |
sites/*/files | |
sites/*/private | |
# Unnecessary core files. | |
/README.txt | |
/CHANGELOG.txt | |
/COPYRIGHT.txt | |
/INSTALL*.txt | |
/LICENSE.txt | |
/MAINTAINERS.txt | |
/UPGRADE.txt | |
robots.txt | |
web.config | |
xmlrpc.php | |
sites/all/README.txt | |
sites/all/modules/README.txt | |
sites/all/themes/README.txt | |
.htaccess | |
# Unnecessary core modules | |
/modules/aggregator | |
/modules/blog | |
/modules/book | |
/modules/dashboard | |
/modules/forum | |
/modules/openid | |
/modules/overlay | |
/modules/php | |
/modules/poll | |
/modules/profile | |
/modules/rdf | |
/modules/simpletest | |
/modules/statistics | |
/modules/toolbar | |
/modules/tracker | |
/modules/trigger | |
# Unnecessary core themes | |
/themes/garland | |
/themes/stark | |
# Unnecessary module files | |
tests | |
# Cache specific files. | |
cache/ | |
.sass-cache | |
# Temporary folder | |
/tmp | |
# IDE specific files | |
.sublime-project | |
/nbproject | |
.idea | |
# Unnecessary metadata files | |
.DS_Store | |
Thumbs.db | |
desktop.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment