forked from devgeniem/wp-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitignore
78 lines (66 loc) · 1.57 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
# WP-CLI database dumps should not be tracked in git
*.sql
# Don't include whole svn repositories
.svn
# Custon environment variables may include passwords and other
# secrets and should not be tracked in git
.env
.env.*
!.env.example
##
# WP core
# - This is installed by Composer
##
web/wp
web/.htaccess
##
# WP Plugins
# - Don't track any plugins in git because we use composer
# - If you create custom plugins, force add them to git so they're tracked in git
##
web/app/plugins/*
!web/app/plugins/.gitkeep
##
# WP MU-Plugins
##
# Ignore folders in mu-plugins
web/app/mu-plugins/*
# Don't ignore .php files in mu-plugins
!web/app/mu-plugins/*.php
!web/app/mu-plugins/.gitkeep
##
# WP Dropins
# - Use devgeniem/better-wp-db-error for db-error.php page
# - Use devgeniem/better-wp-install-dropin for install.php
# - Use wpackagist-plugin/redis-cache for object-cache.php
##
web/app/db-error.php
web/app/install.php
web/app/object-cache.php
##
# WP Themes
# - Don't track themes which have packages
# - Prefer using child themes and use composer for parent theme
# - If you create custom themese, they are automatically tracked in git
##
web/app/themes/twenty*
!web/app/themes/.gitkeep
##
# Don't track languages
##
web/app/languages/*
!web/app/languages/.gitkeep
# WordPress content directories filled with user data
# not to be tracked in git
web/app/upgrade
web/app/uploads/*
!web/app/uploads/.gitkeep
# Libraries installed by Composer, Bower etc
vendor/*
!vendor/.gitkeep
# Node Package Manager
node_modules
# Development stuff from devgeniem/wordpress-server
.docker
.mysql_history
.wp-cli