-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitignore
104 lines (81 loc) · 2.83 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
###############################################################################
## #
## GIT IGNORE FOR WORDPRESS SITES #
## ------------------------------ #
## #
###############################################################################
###############################################################################
## #
## NOTE: TO STOP TRACKING A FILE AFTER IGNORING IT, #
## USE THESE GIT COMMANDS: #
## #
## git rm --cached <file> #
## git add . # or git add <file> #
## #
###############################################################################
## OS and Utility Stuff ##
#==================#
# OS Files #
#==================#
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
*[Tt]humbs.db
*.Trashes
*.swp
*.swo
#==================#
# Log files #
#==================#
*.log
error_log
access_log
.sass-cache
#===================================#
# Config. and npm Files #
#===================================#
local-config.php
wp-config.php
node_modules
## Main Stuff ##
#===================================#
# WP Core, except content #
#===================================#
!.gitignore
!wp-content/
# !media/
!favicon.ico
!favicon.png
!robots.txt
!humans.txt
wp-content/plugins/wordfence/tmp/configCache.php
#=============================================#
# wp-content, except plugins and themes #
#=============================================#
wp-content/*
!wp-content/plugins/
!wp-content/mu-plugins/
!wp-content/themes/
# !wp-content/uploads ##=> It's a good idea to ignore uploads, especially if you are using git to deploy to live/dev environments. Un-comment this line to 'watch' uploads
## Use these to get more specific ##
#===========================#
# Specific Plugins #
#===========================#
# wp-content/plugins/*
# !wp-content/plugins/my-single-file-plugin.php
# !wp-content/plugins/my-directory-plugin/
#===========================#
# Specific Themes #
#===========================#
# wp-content/themes/*
# !wp-content/themes/my-theme/
## Depreciated stuff, keeping here for reference ##
##### design files #####
# *.psd
##### CACHE #####
# wp-content/cache/
# wp-content/advanced-cache.php
# wp-content/wp-cache-config.php