-
Notifications
You must be signed in to change notification settings - Fork 4
/
.gitignore
35 lines (27 loc) · 928 Bytes
/
.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
# Ignore everything in the root except the "wp-content" directory.
/*
!wp-content/
# track this file .gitignore (i.e. do NOT ignore it)
!.gitignore
# track readme.md in the root (i.e. do NOT ignore it)
!README.md
# track Dockerfile
!Dockerfile
# track docker compose
!docker-compose.yml
# track vscode folder
!.vscode/
# Ignore everything in the "wp-content" directory, except the "plugins"
# and "themes" directories.
wp-content/*
!wp-content/plugins/
!wp-content/themes/
# Ignore everything in the "plugins" directory, except the plugins you
# specify (see the commented-out examples for hints on how to do this.)
wp-content/plugins/*
# !wp-content/plugins/my-single-file-plugin.php
# !wp-content/plugins/my-directory-plugin/
# Ignore everything in the "themes" directory, except the themes you
# specify (see the commented-out example for a hint on how to do this.)
wp-content/themes/*
# !wp-content/themes/my-theme/