-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitignore
More file actions
executable file
·24 lines (20 loc) · 939 Bytes
/
.gitignore
File metadata and controls
executable file
·24 lines (20 loc) · 939 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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-config-sample.php
!wp-content/
# Ignore everything in the "wp-content" directory, except the "plugins", "themes", and "languages" directories.
wp-content/*
!wp-content/plugins/
!wp-content/themes/
!wp-content/languages/
# 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/*
# 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