-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitignore
25 lines (21 loc) · 983 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
# 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
!README.md
!wp-content/
# 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 ("konscript" as default)
wp-content/themes/*
!wp-content/themes/konscript/
wp-content/themes/konscript/stylesheet/.sass-cache