-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitignore
115 lines (99 loc) · 2.04 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
## -----------------------------------------------------------------
##
## .gitignore for 11 Online WordPress projects
## based on:
##
## .gitignore for WordPress2 ##
## Bare Minimum Git ##
## http://ironco.de/bare-minimum-git/ ##
## ver 20150227 ##
##
## This file is tailored for a WordPress project
## using the default directory structure
##
## -----------------------------------------------------------------
# ignore everything in the root except the "wp-content" directory.
/*
!wp-content/
# ignore all files starting with .
.*
# 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 and directories
ehthumbs.db
Thumbs.db
Network Trash Folder
Temporary Items
Desktop.ini
$RECYCLE.BIN/
*.lnk
# ignore SublimeText files
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
*.sublime-workspace
sftp-config.json
Package Control.last-run
Package Control.ca-list
Package Control.ca-bundle
Package Control.system-ca-bundle
Package Control.cache/
Package Control.ca-certs/
bh_unicode_properties.cache
GitHub.sublime-settings
# ignore icons
Icon*
# 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 random other crap
*.diff
*.err
*.orig
*.rej
*.swo
*.swp
*.vi
*.cab
*.msi
*.msm
*.msp
# ignore everything in the "wp-content" directory, except:
# "mu-plugins" directory
# "themes" directory
wp-content/*
!wp-content/mu-plugins/
!wp-content/themes/
# ignore specific themes, theme files and sass stuff
wp-content/themes/genesis/
wp-content/themes/*/assets/scss/mixins/
wp-content/themes/*/style.css
wp-content/themes/*/README*
wp-content/themes/*/screenshot.png
# ignore node/npm/gulp dependency directories and debug file
node_modules/
wp-content/themes/*/build/
npm-debug*