-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitignore
executable file
·33 lines (27 loc) · 1.12 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
# This is a .gitignore file for git-managed WordPress projects.
# Ignores all WordPress core files and server-specific configuration in the project's repository.
# Exceptions should be added for themes, plugins etc. that should be specifically included.
# Ignore everything in the root except the "wp-content" directory.
/*
.DS_Store
!.gitignore
!wp-content/
!public/
# ignore drafts made by stupid programs
*.*~
# ignore sass cache
.sass-cache/
# 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/
!wp-content/plugins/advanced-custom-fields/
wp-content/plugins/advanced-custom-fields/*
!wp-content/plugins/advanced-custom-fields/acf.php
# Ignore everything in the "themes" directory, except the themes you specify ("konscript" as default)
wp-content/themes/*
!wp-content/themes/konscript/