|
1 | 1 | # Common settings that generally should always be used with your language specific settings |
2 | | -# generated by https://www.richie-bendall.ml/gitattributes-generator/ |
3 | 2 |
|
4 | 3 | # Auto detect text files and perform LF normalization |
5 | 4 | * text=auto |
|
19 | 18 | *.pdf diff=astextplain |
20 | 19 | *.PDF diff=astextplain |
21 | 20 | *.rtf diff=astextplain |
22 | | -*.RTF diff=astextplain |
23 | | -*.md text diff=markdown |
24 | | -*.mdx text diff=markdown |
25 | | -*.tex text diff=tex |
26 | | -*.adoc text |
27 | | -*.textile text |
28 | | -*.mustache text |
29 | | -*.csv text |
30 | | -*.tab text |
31 | | -*.tsv text |
32 | | -*.txt text |
33 | | -*.sql text |
34 | | -*.epub diff=astextplain |
35 | | - |
36 | | -# Graphics |
37 | | -*.png binary |
38 | | -*.jpg binary |
39 | | -*.jpeg binary |
40 | | -*.gif binary |
41 | | -*.tif binary |
42 | | -*.tiff binary |
43 | | -*.ico binary |
44 | | -# SVG treated as text by default. |
45 | | -*.svg text |
46 | | -# If you want to treat it as binary, |
47 | | -# use the following line instead. |
48 | | -# *.svg binary |
49 | | -*.eps binary |
50 | | - |
51 | | -# Scripts |
52 | | -*.bash text eol=lf |
53 | | -*.fish text eol=lf |
54 | | -*.sh text eol=lf |
55 | | -*.zsh text eol=lf |
56 | | -# These are explicitly windows files and should use crlf |
57 | | -*.bat text eol=crlf |
58 | | -*.cmd text eol=crlf |
59 | | -*.ps1 text eol=crlf |
60 | | - |
61 | | -# Serialisation |
62 | | -*.json text |
63 | | -*.toml text |
64 | | -*.xml text |
65 | | -*.yaml text |
66 | | -*.yml text |
67 | | - |
68 | | -# Archives |
69 | | -*.7z binary |
70 | | -*.gz binary |
71 | | -*.tar binary |
72 | | -*.tgz binary |
73 | | -*.zip binary |
74 | | - |
75 | | -# Text files where line endings should be preserved |
76 | | -*.patch -text |
77 | | - |
78 | | -# |
79 | | -# Exclude files from exporting |
80 | | -# |
81 | | - |
82 | | -.gitattributes export-ignore |
83 | | -.gitignore export-ignore |
84 | | -.gitkeep export-ignore |
85 | | - |
86 | | -# Apply override to all files in the directory |
87 | | -*.md linguist-detectable |
88 | | - |
89 | 21 | # Basic .gitattributes for a python repo. |
90 | 22 |
|
91 | 23 | # Source files |
|
106 | 38 | *.pickle binary |
107 | 39 | *.pyc binary export-ignore |
108 | 40 | *.pyo binary export-ignore |
109 | | -*.pyd binary |
110 | | - |
111 | | -# Jupyter notebook |
112 | | -*.ipynb text eol=lf |
113 | | - |
114 | | -# Note: .db, .p, and .pkl files are associated |
115 | | -# with the python modules ``pickle``, ``dbm.*``, |
116 | | -# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb`` |
117 | | -# (among others). |
118 | | - |
| 41 | +# Apply override to all files in the directory |
| 42 | +*.md linguist-detectable |
119 | 43 | # Basic .gitattributes for a R repo. |
120 | 44 |
|
121 | 45 | # Source files |
|
127 | 51 | *.rds binary |
128 | 52 | *.Rd text |
129 | 53 | *.Rdx binary |
130 | | -*.Rmd text |
131 | | -*.R text |
| 54 | +*.Rmd text |
| 55 | +*.R text |
132 | 56 | *.Rproj text |
133 | 57 | *.[Rr]md linguist-detectable |
134 | | - |
135 | 58 | ## GITATTRIBUTES FOR WEB PROJECTS |
136 | 59 | # |
137 | 60 | # These settings are for any web project. |
|
152 | 75 | # Source code |
153 | 76 | *.bash text eol=lf |
154 | 77 | *.bat text eol=crlf |
155 | | -*.cmd text eol=crlf |
156 | | -*.coffee text |
157 | | -*.css text diff=css |
158 | | -*.htm text diff=html |
159 | | -*.html text diff=html |
160 | | -*.inc text |
161 | | -*.ini text |
162 | | -*.js text |
163 | | -*.json text |
164 | | -*.jsx text |
165 | | -*.less text |
166 | | -*.ls text |
167 | | -*.map text -diff |
168 | | -*.od text |
169 | | -*.onlydata text |
170 | | -*.php text diff=php |
171 | | -*.pl text |
172 | | -*.ps1 text eol=crlf |
173 | | -*.py text diff=python |
174 | | -*.rb text diff=ruby |
175 | | -*.sass text |
176 | | -*.scm text |
177 | | -*.scss text diff=css |
178 | | -*.sh text eol=lf |
179 | | -*.sql text |
180 | | -*.styl text |
181 | | -*.tag text |
182 | | -*.ts text |
183 | | -*.tsx text |
184 | | -*.xml text |
185 | | -*.xhtml text diff=html |
186 | | - |
187 | | -# Docker |
188 | | -Dockerfile text |
189 | | - |
190 | | -# Documentation |
191 | | -*.ipynb text eol=lf |
192 | | -*.markdown text diff=markdown |
193 | | -*.md text diff=markdown |
194 | | -*.mdwn text diff=markdown |
195 | | -*.mdown text diff=markdown |
196 | | -*.mkd text diff=markdown |
197 | | -*.mkdn text diff=markdown |
198 | | -*.mdtxt text |
199 | | -*.mdtext text |
200 | | -*.txt text |
201 | | -AUTHORS text |
202 | | -CHANGELOG text |
203 | | -CHANGES text |
204 | | -CONTRIBUTING text |
205 | | -COPYING text |
206 | | -copyright text |
207 | | -*COPYRIGHT* text |
208 | | -INSTALL text |
209 | | -license text |
210 | | -LICENSE text |
211 | | -NEWS text |
212 | | -readme text |
213 | | -*README* text |
214 | | -TODO text |
215 | | - |
216 | | -# Templates |
217 | | -*.dot text |
218 | | -*.ejs text |
219 | | -*.erb text |
220 | | -*.haml text |
221 | | -*.handlebars text |
222 | | -*.hbs text |
223 | | -*.hbt text |
224 | | -*.jade text |
225 | | -*.latte text |
226 | | -*.mustache text |
227 | | -*.njk text |
228 | | -*.phtml text |
229 | | -*.svelte text |
230 | | -*.tmpl text |
231 | | -*.tpl text |
232 | | -*.twig text |
233 | | -*.vue text |
234 | | - |
235 | | -# Configs |
236 | | -*.cnf text |
237 | | -*.conf text |
238 | | -*.config text |
239 | | -.editorconfig text |
240 | | -.env text |
241 | | -.gitattributes text |
242 | | -.gitconfig text |
243 | | -.htaccess text |
244 | | -*.lock text -diff |
245 | | -package.json text eol=lf |
246 | | -package-lock.json text eol=lf -diff |
247 | | -pnpm-lock.yaml text eol=lf -diff |
248 | | -.prettierrc text |
249 | | -yarn.lock text -diff |
250 | | -*.toml text |
251 | | -*.yaml text |
252 | | -*.yml text |
253 | | -browserslist text |
254 | | -Makefile text |
255 | | -makefile text |
256 | | - |
257 | | -# Heroku |
258 | | -Procfile text |
259 | | - |
260 | | -# Graphics |
261 | | -*.ai binary |
262 | | -*.bmp binary |
263 | | -*.eps binary |
264 | | -*.gif binary |
265 | | -*.gifv binary |
266 | | -*.ico binary |
267 | | -*.jng binary |
268 | | -*.jp2 binary |
269 | | -*.jpg binary |
270 | | -*.jpeg binary |
271 | | -*.jpx binary |
272 | | -*.jxr binary |
273 | | -*.pdf binary |
274 | | -*.png binary |
275 | | -*.psb binary |
276 | | -*.psd binary |
277 | | -# SVG treated as an asset (binary) by default. |
278 | | -*.svg text |
279 | | -# If you want to treat it as binary, |
280 | | -# use the following line instead. |
281 | | -# *.svg binary |
282 | | -*.svgz binary |
283 | | -*.tif binary |
284 | | -*.tiff binary |
285 | | -*.wbmp binary |
286 | | -*.webp binary |
287 | | - |
288 | | -# Audio |
289 | | -*.kar binary |
290 | | -*.m4a binary |
291 | | -*.mid binary |
292 | | -*.midi binary |
293 | | -*.mp3 binary |
294 | | -*.ogg binary |
295 | | -*.ra binary |
296 | | - |
297 | | -# Video |
298 | | -*.3gpp binary |
299 | | -*.3gp binary |
300 | | -*.as binary |
301 | | -*.asf binary |
302 | | -*.asx binary |
303 | | -*.avi binary |
304 | | -*.fla binary |
305 | | -*.flv binary |
306 | | -*.m4v binary |
307 | | -*.mng binary |
308 | | -*.mov binary |
309 | | -*.mp4 binary |
310 | | -*.mpeg binary |
311 | | -*.mpg binary |
312 | | -*.ogv binary |
313 | | -*.swc binary |
314 | | -*.swf binary |
315 | | -*.webm binary |
316 | | - |
317 | | -# Archives |
318 | | -*.7z binary |
319 | | -*.gz binary |
320 | | -*.jar binary |
321 | | -*.rar binary |
322 | | -*.tar binary |
323 | | -*.zip binary |
324 | | - |
325 | | -# Fonts |
326 | | -*.ttf binary |
327 | | -*.eot binary |
328 | | -*.otf binary |
329 | | -*.woff binary |
330 | | -*.woff2 binary |
331 | | - |
332 | | -# Executables |
333 | | -*.exe binary |
334 | | -*.pyc binary |
335 | | - |
336 | | -# RC files (like .babelrc or .eslintrc) |
337 | | -*.*rc text |
338 | | - |
339 | | -# Ignore files (like .npmignore or .gitignore) |
340 | | -*.*ignore text |
0 commit comments