-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitignore
167 lines (147 loc) · 4.91 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# ==================================================== #
# _ #
# | | #
# __ _____| |__ ___ ___ _ __ ___ _ __ ___ #
# \ \ /\ / / _ \ '_ \ / __/ _ \| '_ ` _ \| '_ ` _ \ #
# \ V V / __/ |_) | (_| (_) | | | | | | | | | | | #
# \_/\_/ \___|_.__/ \___\___/|_| |_| |_|_| |_| |_| #
# Copyright (c) 2011-2014 Webcomm Pty Limited #
# #
# ==================================================== #
# ==================================================== #
# GLOBAL #
# -- #
# See http://goo.gl/EpCdmV #
# ==================================================== #
# Hide all files under the root directory
/*
# Except this file
!/.gitignore
# And package manager files
!/bower.json
!/composer.json
!/composer.lock
!/package.json
# Gulp/Magento Boilerplate files
!/config.json
!/gulpfile.js
# ==================================================== #
# MAGENTO #
# ==================================================== #
# Hide out all code, allowing easy targeting of both
# community and local modules that can't be
# installed with Composer.
!/app/
/app/*
!/app/code/
/app/code/*
!/app/code/community/
/app/code/community/*/*
!/app/code/local/
/app/code/local/*/*
# Same concept for code will apply to the adminhtml
# design files.
!/app/design/
/app/design/*
!/app/design/adminhtml/
/app/design/adminhtml/default/default/etc/*
/app/design/adminhtml/default/default/layout/*
/app/design/adminhtml/default/default/locale/*
/app/design/adminhtml/default/default/template/*
# With frontend design files, we need to structure
# the ignore rules so people running their own
# packages or a package under default are
# covered.
!/app/design/frontend/
/app/design/frontend/*
!/app/design/frontend/base/
/app/design/frontend/base/default/etc/*
/app/design/frontend/base/default/layout/*
/app/design/frontend/base/default/template/*
!/app/design/frontend/default/
/app/design/frontend/default/*
# You must opt-in to module declaration files
!/app/etc/
/app/etc/*
!/app/etc/modules/
/app/etc/modules/*
# In addition to allowing translation files, we
# need to structure the ignore rules for easy
# inclusion of email templates.
!/app/locale/
/app/locale/*/*
!/app/locale/*/template
/app/locale/*/template/email/*
# An often overlooked design component of a Magento
# website is overriding the fatal error handling,
# consider making your own error skin.
!/errors/
/errors/*
# Some modules add their JavaScript files to the
# root "js" directory.
!/js/
/js/*
# Many modules will include autoloaded libraries
# under the root "lib" directory. In particular,
# many modules will override or add new form
# element objects.
!/lib/
/lib/*
!/lib/Varien/
/lib/Varien/*
!/lib/Varien/Data/
/lib/Varien/Data/*
!/lib/Varien/Data/Form/
/lib/Varien/Data/Form/*
!/lib/Varien/Data/Form/Element/
/lib/Varien/Data/Form/Element/*
# Many people choose to opt-in their "wysiwyg"
# directory into version control,
# but not all.
!/media/
/media/*
# The same principle applied to design files
# needs to be applied to their "skin"
# counterparts.
!/skin/
/skin/*
!/skin/adminhtml/
/skin/adminhtml/default/default/*
!/skin/adminhtml/default/default/images/
/skin/adminhtml/default/default/images/*
!/skin/frontend/
/skin/frontend/*
!/skin/frontend/base/
/skin/frontend/base/default/*
!/skin/frontend/base/default/css/
/skin/frontend/base/default/css/*
!/skin/frontend/base/default/images/
/skin/frontend/base/default/images/*
!/skin/frontend/base/default/js/
/skin/frontend/base/default/js/*
!/skin/frontend/default/
/skin/frontend/default/*
# ==================================================== #
# INCLUDE YOUR THEME DECLARATION AS A EXCLUSIONS #
# -- #
# This works for whole packages or #
# varients under "default". Consider #
# putting supporting modules here. #
# ==================================================== #
# !/app/design/frontend/mytheme/
# !/skin/frontend/mytheme/
# ==================================================== #
# INCLUDE MODULE FILES AS EXCLUSIONS #
# -- #
# Ideally you would install via Composer #
# and not as ignore rule exclusions. #
# ==================================================== #
# !/app/code/local/Foo/Bar
# !/app/design/frontend/base/default/layout/foo_bar.xml
# !/app/design/frontend/base/default/template/foo_bar/
# !/app/etc/modules/Foo_Bar.xml
# !/app/locale/en_US/Foo_Bar.csv
# !/app/locale/en_US/template/email/foo_bar.html
# !/js/foo_bar/
# !/skin/frontend/base/default/css/foo_bar.css
# !/skin/frontend/base/default/images/foo_bar/