-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitignore
100 lines (87 loc) · 2.15 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
# -----------------------------------------------------------------
# .gitignore for WordPress @salcode
# ver 20160309
#
# From the root of your project run
# curl -O https://gist.githubusercontent.com/salcode/b515f520d3f8207ecd04/raw/.gitignore
# to download this file
#
# By default all files are ignored. You'll need to whitelist
# any mu-plugins, plugins, or themes you want to include in the repo.
#
# 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:
# 20160309 Added favicon files as whitelisted files
# 20150302 Added composer.json as a whitelisted file
# 20150227 Created as fork of https://gist.github.com/salcode/9940509,
# this version ignores all files by default
# -----------------------------------------------------------------
# ignore some VVV related stuff
/log
/public_html
# ignore everything in the root except the "wp-content" directory.
/site/*
!/site/wp-content/
# ignore everything in the "wp-content" directory, except:
# mu-plugins, plugins, and themes directories
/site/wp-content/*
!/site/wp-content/mu-plugins/
!/site/wp-content/plugins/
!/site/wp-content/themes/
# ignore all mu-plugins, plugins, and themes
# unless explicitly whitelisted at the end of this file
/site/wp-content/mu-plugins/*
/site/wp-content/plugins/*
/site/wp-content/themes/*
# ignore all files starting with . or ~
.*
~*
# ignore OS generated files
ehthumbs.db
Thumbs.db
# ignore editor files
*.sublime-project
*.sublime-workspace
*.komodoproject
*-favs.json
# 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
# -------------------------
# BEGIN Whitelisted Files
# -------------------------
# track these files, if they exist
!.gitkeep
!.gitignore
!.gitattributes
!.editorconfig
!README.md
!CHANGELOG.md
!composer.json
!git-hooks/
# track these mu-plugins, plugins, and themes
# add your own entries here
# !wp-content/mu-plugins/example-mu-plugin/
!/site/wp-content/themes/timber-boilerplate/