-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitignore
137 lines (118 loc) · 4.76 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
# ==================================================== #
# _ #
# | | #
# __ _____| |__ ___ ___ _ __ ___ _ __ ___ #
# \ \ /\ / / _ \ '_ \ / __/ _ \| '_ ` _ \| '_ ` _ \ #
# \ V V / __/ |_) | (_| (_) | | | | | | | | | | | #
# \_/\_/ \___|_.__/ \___\___/|_| |_| |_|_| |_| |_| #
# Copyright (c) 2011-2015 Webcomm Pty Limited #
# #
# ==================================================== #
# ==================================================== #
# BOILERPLATE IGNORE RULES #
# -- #
# Here, we specify all ignore rules #
# that facilitate an opt-in process with #
# all custom code that isn't managed #
# by version control. #
# ==================================================== #
# Hide out all code, allowing easy targeting of both
# community and local modules that can't be
# installed with Composer.
/app/code/community/*/*
/app/code/local/*/*
# Same concept for code will apply to
# the adminhtml design files.
/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/base/default/etc/*
/app/design/frontend/base/default/layout/*
/app/design/frontend/base/default/template/*
/app/design/frontend/default/*
/app/design/frontend/enterprise/*
/app/design/frontend/rwd/*
# Magento configuration files should not be
# included at all in version control, ever.
/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/*/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/*
# Some modules add their JavaScript files to the
# root "js" directory.
/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/*
# Many people choose to opt-in their "wysiwyg"
# directory into version control,
# but not all.
/media/*
# The same principle applied to design files
# needs to be applied to their "skin"
# counterparts.
/skin/adminhtml/default/default/*
!/skin/adminhtml/default/default/images/
/skin/adminhtml/default/default/images/*
/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/enterprise/*
/skin/frontend/rwd/*
# There's nothing that needs to be included
# in the var folder. Think of it as a big
# rubbish bin
/var
# ==================================================== #
# INCLUDE YOUR THEME DECLARATION AS A EXCLUSIONS #
# -- #
# This works for whole packages or #
# themes under "default". Consider #
# putting supporting modules here. #
# ==================================================== #
# Opt-in your package
!/app/design/frontend/boilerplate/
!/skin/frontend/boilerplate/
# The following directories are compilation directories,
# so these should be excluded from version control.
/skin/frontend/boilerplate/default/css/
/skin/frontend/boilerplate/default/fonts/
/skin/frontend/boilerplate/default/images/
/skin/frontend/boilerplate/default/js/
# ==================================================== #
# INCLUDE MODULE FILES AS EXCLUSIONS #
# -- #
# Ideally you would install via Composer #
# and not as ignore rule exclusions. #
# ==================================================== #
# ..
# ==================================================== #
# IGNORE RULES AUTOGENERATED BY COMPOSER #
# -- #
# Below this line, Composer will #
# automatically add rules for every #
# file inside Magento so as to ensure #
# it is not under version control. #
# ==================================================== #
# ..