-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitignore
121 lines (105 loc) · 3 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# -----------------------------------------------------------------
# .gitignore for WordPress
# Bare Minimum Git
# Originaly from http://ironco.de/bare-minimum-git/
# ver 20150130
#
# This file is tailored for a WordPress project
# using the default directory structure
#
# This file specifies intentionally untracked files to ignore
# http://git-scm.com/docs/gitignore
#
# NOTES:
# The purpose of gitignore files is to ensure that certain files not
# tracked by Git remain untracked.
#
# To ignore uncommitted changes in a file that is already tracked,
# use `git update-index --assume-unchanged`.
#
# To stop tracking a file that is currently tracked,
# use `git rm --cached`
#
# Change Log:
# 20150130 Added httpdocs/ prefix as I like my .gitignore in the root folder
# 20150130 Added twentyfifteen to theme ignore
# 20150130 Added ignore on the useless default plugins
# 20150130 Forked from https://gist.github.com/salcode/9940509
# 20140606 Add .editorconfig as a tracked file
# 20140404 Ignore database, compiled, and packaged files
# 20140404 Header Information Updated
# 20140402 Initially Published
#
# -----------------------------------------------------------------
# ignore everything in the root except the "wp-content" directory.
httpdocs/*
!httpdocs/wp-content/
# track this file .gitignore (i.e. do NOT ignore it)
!.gitignore
# track .editorconfig file (i.e. do NOT ignore it)
!.editorconfig
# track readme.md in the root (i.e. do NOT ignore it)
!readme.md
# ignore all files that start with ~
~*
# ignore OS generated files
ehthumbs.db
Thumbs.db
# ignore Editor files
*.sublime-project
*.sublime-workspace
*.komodoproject
# ignore log files and databases
*.log
*.sql
*.sqlite
# ignore compiled files
*.com
*.class
*.dll
*.exe
*.o
*.so
# ignore packaged files
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# ignore everything in the "wp-content" directory, except:
# "mu-plugins" directory
# "plugins" directory
# "themes" directory
httpdocs/wp-content/*
!httpdocs/wp-content/mu-plugins/
!httpdocs/wp-content/plugins/
!httpdocs/wp-content/themes/
# Specifically ignore totally useless plugins
# (at least aksimet is to me as I mainly develop commercial sites)
httpdocs/wp-content/plugins/index.php
httpdocs/wp-content/plugins/hello.php
httpdocs/wp-content/plugins/akismet/*
# ADVANCED OPTION (disabled by default)
# ignore everything in the "plugins" directory,
# except the plugins you specify
#httpdocs/wp-content/plugins/*
#!httpdocs/wp-content/plugins/stop-emails/
# ADVANCED OPTION (disabled by default)
# ignore everything in the "themes" directory,
# except the themes you specify
#httpdocs/wp-content/themes/*
#!httpdocs/wp-content/themes/bootstrap-genesis/
# ignore specific themes
httpdocs/wp-content/themes/index.php
httpdocs/wp-content/themes/twentyten/
httpdocs/wp-content/themes/twentyeleven/
httpdocs/wp-content/themes/twentytwelve/
httpdocs/wp-content/themes/twentythirteen/
httpdocs/wp-content/themes/twentyfourteen/
httpdocs/wp-content/themes/twentyfifteen/
# ignore node/grunt dependency directories
node_modules/
.idea