example.gitignore 1.16 KB
Newer Older
1 2 3 4 5
# This file contains default .gitignore rules. To use it, copy it to .gitignore,
# and it will cause files like your settings.php and user-uploaded files to be
# excluded from Git version control. This is a common strategy to avoid
# accidentally including private information in public repositories and patch
# files.
6
#
7 8
# Because .gitignore can be specific to your site, this file has a different
# name; updating Drupal core will not override your custom .gitignore file.
9

10 11 12 13
# Ignore core and vendor when managing dependencies with Composer.
# core
# vendor

14 15
# Ignore configuration files that may contain sensitive information.
sites/*/settings*.php
16
sites/*/services*.yml
17 18 19 20 21

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

22 23 24
# Ignore SimpleTest multi-site environment.
sites/simpletest

25 26 27 28 29 30 31 32 33
# If you prefer to store your .gitignore file in the sites/ folder, comment
# or delete the previous settings and uncomment the following ones, instead.

# Ignore configuration files that may contain sensitive information.
# */settings*.php

# Ignore paths that contain user-generated content.
# */files
# */private
34 35 36

# Ignore SimpleTest multi-site environment.
# simpletest