|
1 | | -# Common settings that generally should always be used with your language specific settings |
2 | | - |
3 | | -# Auto detect text files and perform LF normalization |
4 | | -# https://www.davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/ |
5 | | -* text=auto |
6 | | - |
7 | | -# |
8 | | -# The above will handle all files NOT found below |
9 | | -# |
10 | | - |
11 | | -# Documents |
12 | | -*.bibtex text diff=bibtex |
13 | | -*.doc diff=astextplain |
14 | | -*.DOC diff=astextplain |
15 | | -*.docx diff=astextplain |
16 | | -*.DOCX diff=astextplain |
17 | | -*.dot diff=astextplain |
18 | | -*.DOT diff=astextplain |
19 | | -*.pdf diff=astextplain |
20 | | -*.PDF diff=astextplain |
21 | | -*.rtf diff=astextplain |
22 | | -*.RTF diff=astextplain |
23 | | -*.md text |
24 | | -*.tex text diff=tex |
25 | | -*.adoc text |
26 | | -*.textile text |
27 | | -*.mustache text |
28 | | -*.csv text |
29 | | -*.tab text |
30 | | -*.tsv text |
31 | | -*.txt text |
32 | | -*.sql text |
33 | | - |
34 | | -# Graphics |
35 | | -*.png binary |
36 | | -*.jpg binary |
37 | | -*.jpeg binary |
38 | | -*.gif binary |
39 | | -*.tif binary |
40 | | -*.tiff binary |
41 | | -*.ico binary |
42 | | -# SVG treated as an asset (binary) by default. |
43 | | -*.svg text |
44 | | -# If you want to treat it as binary, |
45 | | -# use the following line instead. |
46 | | -# *.svg binary |
47 | | -*.eps binary |
48 | | - |
49 | | -# Scripts |
50 | | -*.bash text eol=lf |
51 | | -*.fish text eol=lf |
52 | | -*.sh text eol=lf |
53 | | -# These are explicitly windows files and should use crlf |
54 | | -*.bat text eol=crlf |
55 | | -*.cmd text eol=crlf |
56 | | -*.ps1 text eol=crlf |
57 | | - |
58 | | -# Serialisation |
59 | | -*.json text |
60 | | -*.toml text |
61 | | -*.xml text |
62 | | -*.yaml text |
63 | | -*.yml text |
64 | | - |
65 | | -# Archives |
66 | | -*.7z binary |
67 | | -*.gz binary |
68 | | -*.tar binary |
69 | | -*.zip binary |
70 | | - |
71 | | -# |
72 | | -# Exclude files from exporting |
73 | | -# |
74 | | - |
75 | | -.gitattributes export-ignore |
76 | | -.gitignore export-ignore |
77 | | - |
78 | | -## GITATTRIBUTES FOR WEB PROJECTS |
79 | | -# |
80 | | -# These settings are for any web project. |
81 | | -# |
82 | | -# Details per file setting: |
83 | | -# text These files should be normalized (i.e. convert CRLF to LF). |
84 | | -# binary These files are binary and should be left untouched. |
85 | | -# |
86 | | -# Note that binary is a macro for -text -diff. |
87 | | -###################################################################### |
88 | | - |
89 | | -# Auto detect |
90 | | -## Handle line endings automatically for files detected as |
91 | | -## text and leave all files detected as binary untouched. |
92 | | -## This will handle all files NOT defined below. |
93 | | -* text=auto |
94 | | - |
95 | | -# Source code |
96 | | -*.bash text eol=lf |
97 | | -*.bat text eol=crlf |
98 | | -*.cmd text eol=crlf |
99 | | -*.coffee text |
100 | | -*.css text |
101 | | -*.htm text diff=html |
102 | | -*.html text diff=html |
103 | | -*.inc text |
104 | | -*.ini text |
105 | | -*.js text |
106 | | -*.json text |
107 | | -*.jsx text |
108 | | -*.less text |
109 | | -*.ls text |
110 | | -*.map text -diff |
111 | | -*.od text |
112 | | -*.onlydata text |
113 | | -*.php text diff=php |
114 | | -*.pl text |
115 | | -*.ps1 text eol=crlf |
116 | | -*.py text diff=python |
117 | | -*.rb text diff=ruby |
118 | | -*.sass text |
119 | | -*.scm text |
120 | | -*.scss text diff=css |
121 | | -*.sh text eol=lf |
122 | | -*.sql text |
123 | | -*.styl text |
124 | | -*.tag text |
125 | | -*.ts text |
126 | | -*.tsx text |
127 | | -*.xml text |
128 | | -*.xhtml text diff=html |
129 | | - |
130 | | -# Docker |
131 | | -*.dockerignore text |
132 | | -Dockerfile text |
133 | | - |
134 | | -# Documentation |
135 | | -*.ipynb text |
136 | | -*.markdown text |
137 | | -*.md text |
138 | | -*.mdwn text |
139 | | -*.mdown text |
140 | | -*.mkd text |
141 | | -*.mkdn text |
142 | | -*.mdtxt text |
143 | | -*.mdtext text |
144 | | -*.txt text |
145 | | -AUTHORS text |
146 | | -CHANGELOG text |
147 | | -CHANGES text |
148 | | -CONTRIBUTING text |
149 | | -COPYING text |
150 | | -copyright text |
151 | | -*COPYRIGHT* text |
152 | | -INSTALL text |
153 | | -license text |
154 | | -LICENSE text |
155 | | -NEWS text |
156 | | -readme text |
157 | | -*README* text |
158 | | -TODO text |
159 | | - |
160 | | -# Templates |
161 | | -*.dot text |
162 | | -*.ejs text |
163 | | -*.haml text |
164 | | -*.handlebars text |
165 | | -*.hbs text |
166 | | -*.hbt text |
167 | | -*.jade text |
168 | | -*.latte text |
169 | | -*.mustache text |
170 | | -*.njk text |
171 | | -*.phtml text |
172 | | -*.tmpl text |
173 | | -*.tpl text |
174 | | -*.twig text |
175 | | -*.vue text |
176 | | - |
177 | | -# Linters |
178 | | -.csslintrc text |
179 | | -.eslintrc text |
180 | | -.htmlhintrc text |
181 | | -.jscsrc text |
182 | | -.jshintrc text |
183 | | -.jshintignore text |
184 | | -.stylelintrc text |
185 | | - |
186 | | -# Configs |
187 | | -*.bowerrc text |
188 | | -*.cnf text |
189 | | -*.conf text |
190 | | -*.config text |
191 | | -.babelrc text |
192 | | -.browserslistrc text |
193 | | -.editorconfig text |
194 | | -.env text |
195 | | -.gitattributes text |
196 | | -.gitconfig text |
197 | | -.htaccess text |
198 | | -*.lock text -diff |
199 | | -package-lock.json text -diff |
200 | | -*.npmignore text |
201 | | -*.yaml text |
202 | | -*.yml text |
203 | | -browserslist text |
204 | | -Makefile text |
205 | | -makefile text |
206 | | - |
207 | | -# Heroku |
208 | | -Procfile text |
209 | | -.slugignore text |
210 | | - |
211 | | -# Graphics |
212 | | -*.ai binary |
213 | | -*.bmp binary |
214 | | -*.eps binary |
215 | | -*.gif binary |
216 | | -*.gifv binary |
217 | | -*.ico binary |
218 | | -*.jng binary |
219 | | -*.jp2 binary |
220 | | -*.jpg binary |
221 | | -*.jpeg binary |
222 | | -*.jpx binary |
223 | | -*.jxr binary |
224 | | -*.pdf binary |
225 | | -*.png binary |
226 | | -*.psb binary |
227 | | -*.psd binary |
228 | | -# SVG treated as an asset (binary) by default. |
229 | | -*.svg text |
230 | | -# If you want to treat it as binary, |
231 | | -# use the following line instead. |
232 | | -# *.svg binary |
233 | | -*.svgz binary |
234 | | -*.tif binary |
235 | | -*.tiff binary |
236 | | -*.wbmp binary |
237 | | -*.webp binary |
238 | | - |
239 | | -# Audio |
240 | | -*.kar binary |
241 | | -*.m4a binary |
242 | | -*.mid binary |
243 | | -*.midi binary |
244 | | -*.mp3 binary |
245 | | -*.ogg binary |
246 | | -*.ra binary |
247 | | - |
248 | | -# Video |
249 | | -*.3gpp binary |
250 | | -*.3gp binary |
251 | | -*.as binary |
252 | | -*.asf binary |
253 | | -*.asx binary |
254 | | -*.fla binary |
255 | | -*.flv binary |
256 | | -*.m4v binary |
257 | | -*.mng binary |
258 | | -*.mov binary |
259 | | -*.mp4 binary |
260 | | -*.mpeg binary |
261 | | -*.mpg binary |
262 | | -*.ogv binary |
263 | | -*.swc binary |
264 | | -*.swf binary |
265 | | -*.webm binary |
266 | | - |
267 | | -# Archives |
268 | | -*.7z binary |
269 | | -*.gz binary |
270 | | -*.jar binary |
271 | | -*.rar binary |
272 | | -*.tar binary |
273 | | -*.zip binary |
274 | | - |
275 | | -# Fonts |
276 | | -*.ttf binary |
277 | | -*.eot binary |
278 | | -*.otf binary |
279 | | -*.woff binary |
280 | | -*.woff2 binary |
281 | | - |
282 | | -# Executables |
283 | | -*.exe binary |
284 | | -*.pyc binary |
| 1 | +* text=auto eol=lf |
0 commit comments