example.gitignore 1.24 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
# Ignore core when managing all of a project's dependencies with Composer
# including Drupal core.
12
# core
13 14 15

# Core's dependencies are managed with Composer.
vendor
16

17 18
# Ignore configuration files that may contain sensitive information.
sites/*/settings*.php
19
sites/*/services*.yml
20 21 22 23 24

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

25 26 27
# Ignore SimpleTest multi-site environment.
sites/simpletest

28 29 30 31 32 33 34 35 36
# 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
37 38 39

# Ignore SimpleTest multi-site environment.
# simpletest