-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitignore
92 lines (74 loc) · 2.29 KB
/
.gitignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Opinionated Drupal ignore patterns for local development using Composer and
# DDEV.
#
# @see https://git-scm.com/docs/gitignore
# Ignore .env file in the DDEV directory. Used for sensitive credentials on dev.
#
# @see https://ddev.readthedocs.io/en/latest/users/extend/customization-extendibility/#providing-custom-environment-variables-to-a-container
/.ddev/.env
# Yarn cache and Plug-n-Play files. If we decide to switch over to the Yarn
# zero-installs philosophy, these rules will need adjusting:
#
# @see https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
#
# @see https://yarnpkg.com/features/zero-installs
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
# Yarn logs.
yarn-error.log
yarn.build-error.log
# These are pulled in by the Drupal scaffold.
/.gitattributes
/.editorconfig
# Ignore the storage directory. This is used for compiled Twig templates and
# other PHP storage.
#
# @see \Drupal\Core\PhpStorage\PhpStorageFactory
/storage
# Ignore the root vendor directory as that's managed via Composer.
/vendor
# Ignore generated Drupal config directory .htaccess files.
/drupal_config/*/.htaccess
/drupal_config/splits/*/.htaccess
# Ignore Drupal private files directory.
/drupal_private_files/*
/web/*
!/web/assets
!/web/modules
!/web/profiles
!/web/sites
!/web/themes
/web/assets/*
/web/modules/contrib
/web/modules/README.txt
/web/profiles/contrib
/web/profiles/README.txt
/web/sites/default/default.services.yml
/web/sites/default/default.settings.php
/web/sites/development.services.yml
/web/sites/example.*.php
/web/sites/README.txt
/web/sites/**/files/*
/web/sites/**/settings.*.php
/web/themes/contrib
/web/themes/README.txt
# Custom Drupal extensions (modules, profiles, themes) should be referenced as
# custom Composer repositories and installed with --prefer-source if version
# control is required, i.e. they're being actively developed.
/web/modules/custom/*
/web/profiles/custom/*
/web/themes/custom/*
# Testing directories and files.
test.sqlite
test.sqlite-shm
test.sqlite-wal
/web/sites/simpletest
# Always allow .gitkeep files which are commonly used to allow directories that
# otherwise have no other files under version control to be deployed via Git.
# Note that this must be placed after any exclude rules to take effect.
!.gitkeep