Skip to content

Instantly share code, notes, and snippets.

@davit
Created May 17, 2015 18:49
Show Gist options
  • Save davit/0919e4a8c14ccc9944b7 to your computer and use it in GitHub Desktop.
Save davit/0919e4a8c14ccc9944b7 to your computer and use it in GitHub Desktop.
Drupal .gitignore file example
# Ignore configuration files that may contain sensitive information.
sites/*/*settings*.php
# Ignore paths that contain generated content.
files/
sites/*/files
sites/*/private
# Ignore default text files
robots.txt
/CHANGELOG.txt
/COPYRIGHT.txt
/INSTALL*.txt
/LICENSE.txt
/MAINTAINERS.txt
/UPGRADE.txt
/README.txt
sites/all/README.txt
sites/all/modules/README.txt
sites/all/themes/README.txt
# Ignore everything but the "sites" folder ( for non core developer )
.htaccess
web.config
authorize.php
cron.php
index.php
install.php
update.php
xmlrpc.php
/includes
/misc
/modules
/profiles
/scripts
/themes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment