-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitignore
86 lines (85 loc) · 2.18 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
## IMPORTANT ##
#
# Usually a pattern here also belongs in your `.dockerignore` file and vice
# versa.
# Note that Docker's ignore syntax is slightly different to Git's. The main
# difference is that Git interprets patterns without a leading slash as applying
# to any subdirectory, while Docker interprets them as relative to the project
# root directory. To resolve that, a `.dockerignore` should prefix those
# patterns with `**/`. This is also compatible with Git.
## How to use this file
# Add patterns to the section they apply to, sorted by:
# 1. absolute paths to or patterns for files (with a `/` prefix)
# 2. absolute paths to or patterns for directories
# 3. relative paths to or patterns for files (without a `/` prefix)
# 4. relative paths to or patterns for directories
# 5. pattern exceptions (sorted as above)
# Sort them alphanumerically within each section.
# If no section fits, create one. No path or pattern should exist without a
# section or label.
## Sensitive files
# To override these ignored files on a case-by-case basis,
# instead of adding a rule to this file, force add them:
# ```
# git add path/to/file --force
# This reduces the risk of accidentally committing files that happen to match
# the ignore pattern exception, or a file being removed and readded
# unintentionally in the future.
### Databases
*.db*
*.dump*
*.sql*
*.sqlite3*
### Environment variables
.env
.env.*
### Logs
*.log*
### Secrets and keys
*.crt*
*.key*
*.pem*
### Spreadsheet data
*.bks*
*.csv*
*.dex*
*.numbers*
*.ods*
*.ots*
*.tsv*
*.xlr*
*.xls*
### Terraform
.terraformrc*
terraform.rc*
*.tfstate*
*.tfvars*
.terraform/
### XML data
*.xml*
## Dependencies
node_modules/
vendor/
## WordPress media
/wp-content/uploads
## Temporary files
tmp/
## Build artifacts
/composer.lock
/config/server-local.php
.php-cs-fixer.cache
.sass-cache/
*.bak*
## Query monitor files and similar drop-ins
wp-content/advanced-cache.php
wp-content/db-error.php
wp-content/db.php
wp-content/debug.log
wp-content/fatal-error-handler.php
wp-content/install.php
wp-content/maintenance.php
wp-content/object-cache.php
wp-content/php-error.php
## Whippet dependencies
/wp-content/plugins/akismet
/wp-content/plugins/advanced-custom-fields-pro