-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy path.gitignore
72 lines (60 loc) · 1.84 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
# Lock files are not relevant in WordPress as there is little versioning options anyway
composer.lock
package-lock.json
# WordPress core is installed by Composer
htdocs/wordpress
htdocs/.htaccess
# WP-CLI database dumps that should not be tracked in git
db-sync
sql-dump-*.sql
# Custon environment variables may include passwords and other
# secrets and should not be tracked in git
.env
.env.*
!.env.example
# WordPress content directories usually populated by composer
# If you create custom plugins, force add it to git so that it's tracked
# If you create custom themese, they are automatically tracked in git
htdocs/wp-content/plugins/*
!htdocs/wp-content/plugins/.gitkeep
htdocs/wp-content/mu-plugins/*
!htdocs/wp-content/mu-plugins/.gitkeep
!htdocs/wp-content/mu-plugins/register-theme-directory.php
!htdocs/wp-content/mu-plugins/bedrock-autoloader.php
!htdocs/wp-content/mu-plugins/wp-password-bcrypt.php
htdocs/wp-content/themes/twenty*
!htdocs/wp-content/themes/.gitkeep
htdocs/wp-content/languages/*
!htdocs/wp-content/languages/.gitkeep
# Various plugin generated files and directories
htdocs/wp-content/cache
htdocs/wp-content/*cache
htdocs/wp-content/*backups
htdocs/wp-content/backup*
htdocs/wp-content/blogs.dir
htdocs/wp-content/ewww
htdocs/wp-content/ngg
htdocs/wp-content/w3tc-config
htdocs/wp-content/wflogs
htdocs/wp-content/wp-rocket-config
# WordPress content directories filled with user data
# not to be tracked in git
htdocs/wp-content/upgrade
htdocs/wp-content/uploads/*
!htdocs/wp-content/uploads/.gitkeep
# Server data, not part of project
htdocs/.well-known
# Libraries installed by Composer, Bower etc
vendor/*
!vendor/.gitkeep
# Node Package Manager
node_modules
# Vagrant run-time output, not need to track in git
bin
.vagrant
myrecording
# Don't store any logs in version control
*.log
# OSX Desktop Services Store files.
.DS_Store
.idea