Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

.gitattributes 11 KB

You have to be logged in to leave a comment. Sign In
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
  1. ### https://github.com/alexkaratarakis/gitattributes/blob/master/Common.gitattributes
  2. ### Latest commit c9e0391 on Mar 23
  3. # Common settings that generally should always be used with your language specific settings
  4. # Auto detect text files and perform LF normalization
  5. # https://www.davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
  6. * text=auto
  7. #
  8. # The above will handle all files NOT found below
  9. #
  10. # Documents
  11. *.bibtex text diff=bibtex
  12. *.doc diff=astextplain
  13. *.DOC diff=astextplain
  14. *.docx diff=astextplain
  15. *.DOCX diff=astextplain
  16. *.dot diff=astextplain
  17. *.DOT diff=astextplain
  18. *.pdf diff=astextplain
  19. *.PDF diff=astextplain
  20. *.rtf diff=astextplain
  21. *.RTF diff=astextplain
  22. *.md text diff=markdown
  23. *.tex text diff=tex
  24. *.adoc text
  25. *.textile text
  26. *.mustache text
  27. *.csv text
  28. *.tab text
  29. *.tsv text
  30. *.txt text
  31. *.sql text
  32. *.ps1 text eol=crlf
  33. # Graphics
  34. *.png binary
  35. *.jpg binary
  36. *.jpeg binary
  37. *.gif binary
  38. *.tif binary
  39. *.tiff binary
  40. *.ico binary
  41. # SVG treated as an asset (binary) by default.
  42. *.svg text
  43. # If you want to treat it as binary,
  44. # use the following line instead.
  45. # *.svg binary
  46. *.eps binary
  47. # Scripts
  48. *.bash text eol=lf
  49. *.fish text eol=lf
  50. *.sh text eol=lf
  51. # These are explicitly windows files and should use crlf
  52. *.bat text eol=crlf
  53. *.cmd text eol=crlf
  54. # Serialisation
  55. *.json text
  56. *.toml text
  57. *.xml text
  58. *.yaml text
  59. *.yml text
  60. # Archives
  61. *.7z binary
  62. *.gz binary
  63. *.jar binary
  64. *.tar binary
  65. *.tgz binary
  66. *.rar binary
  67. *.zip binary
  68. # Text files where line endings should be preserved
  69. *.patch -text
  70. #
  71. # Exclude files from exporting
  72. #
  73. .gitattributes export-ignore
  74. .gitignore export-ignore
  75. .gitkeep export-ignore
  76. ### https://github.com/alexkaratarakis/gitattributes/blob/master/C%2B%2B.gitattributes
  77. ### Latest commit 3bbc79c on Apr 19, 2019
  78. # Sources
  79. *.c text diff=c
  80. *.cc text diff=cpp
  81. *.cxx text diff=cpp
  82. *.cpp text diff=cpp
  83. *.c++ text diff=cpp
  84. *.hpp text diff=cpp
  85. *.h text diff=c
  86. *.h++ text diff=cpp
  87. *.hh text diff=cpp
  88. # Compiled Object files
  89. *.slo binary
  90. *.lo binary
  91. *.o binary
  92. *.obj binary
  93. # Precompiled Headers
  94. *.gch binary
  95. *.pch binary
  96. # Compiled Dynamic libraries
  97. *.so binary
  98. *.dylib binary
  99. *.dll binary
  100. # Compiled Static libraries
  101. *.lai binary
  102. *.la binary
  103. *.a binary
  104. *.lib binary
  105. # Executables
  106. *.exe binary
  107. *.out binary
  108. *.app binary
  109. ### https://github.com/alexkaratarakis/gitattributes/blob/master/CSharp.gitattributes
  110. ### Latest commit dcf1bcd on Mar 10
  111. *.cs text diff=csharp
  112. *.cshtml text diff=html
  113. *.csx text diff=csharp
  114. *.sln text eol=crlf merge=union
  115. *.csproj text merge=union
  116. ### https://github.com/alexkaratarakis/gitattributes/blob/master/Go.gitattributes
  117. ### Latest commit 3bb6bbe on Mar 8, 2019
  118. # Treat all Go files in this repo as binary, with no git magic updating
  119. # line endings. Windows users contributing to Go will need to use a
  120. # modern version of git and editors capable of LF line endings.
  121. *.go -text diff=golang
  122. ### https://github.com/alexkaratarakis/gitattributes/blob/master/Java.gitattributes
  123. ### Latest commit ea85312 on May 4, 2020
  124. # Java sources
  125. *.java text diff=java
  126. *.gradle text diff=java
  127. *.gradle.kts text diff=java
  128. # These files are text and should be normalized (Convert crlf => lf)
  129. *.css text diff=css
  130. *.df text
  131. *.htm text diff=html
  132. *.html text diff=html
  133. *.js text
  134. *.jsp text
  135. *.jspf text
  136. *.jspx text
  137. *.properties text
  138. *.tld text
  139. *.tag text
  140. *.tagx text
  141. *.xml text
  142. # These files are binary and should be left untouched
  143. # (binary is a macro for -text -diff)
  144. *.class binary
  145. *.dll binary
  146. *.ear binary
  147. *.jar binary
  148. *.so binary
  149. *.war binary
  150. *.jks binary
  151. ### https://github.com/alexkaratarakis/gitattributes/blob/master/Lua.gitattributes
  152. ### Latest commit 3cd794f on Apr 17, 2019
  153. # Basic .gitattributes for a Lua repo.
  154. # Source files
  155. # ============
  156. *.lua text
  157. # Luadoc output
  158. # =============
  159. *.html text diff=html
  160. *.css text diff=css
  161. ### https://github.com/alexkaratarakis/gitattributes/blob/master/Mathematica.gitattributes
  162. ### Latest commit c088aa0 on May 19, 2020
  163. # Basic .gitattributes for a Mathematica repo.
  164. # Source files
  165. # Caution: *.m also matches Matlab files.
  166. # ============
  167. *.nb text diff=mathematica
  168. *.wls text diff=mathematica
  169. *.wl text diff=mathematica
  170. *.m text diff=mathematica
  171. # Test files
  172. # ==========
  173. *.wlt text diff=mathematica
  174. *.mt text diff=mathematica
  175. # Binary files
  176. # ============
  177. *.mx binary
  178. ### https://github.com/alexkaratarakis/gitattributes/blob/master/Matlab.gitattributes
  179. ### Latest commit b35995c on Mar 8, 2019
  180. # Basic .gitattributes for a MATLAB repo.
  181. # This template includes Simulink and MuPAD extensions, in addition
  182. # to the MATLAB extensions.
  183. # Source files
  184. # ============
  185. *.m text diff=matlab
  186. *.mu text diff=matlab
  187. # Caution: *.m also matches Mathematica packages.
  188. # Binary files
  189. # ============
  190. *.p binary
  191. *.mex* binary
  192. *.fig binary
  193. *.mat binary
  194. *.mdl binary
  195. *.slx binary
  196. *.mdlp binary
  197. *.slxp binary
  198. *.sldd binary
  199. *.mltbx binary
  200. *.mlappinstall binary
  201. *.mlpkginstall binary
  202. *.mn binary
  203. ### https://github.com/alexkaratarakis/gitattributes/blob/master/Perl.gitattributes
  204. ### Latest commit 3bbc79c on Apr 19, 2019
  205. # Basic .gitattributes for a perl repo.
  206. # Source files
  207. # ============
  208. *.pl text diff=perl
  209. *.pm text diff=perl
  210. ### https://github.com/alexkaratarakis/gitattributes/blob/master/Python.gitattributes
  211. ### Latest commit 2f9f9e7 on Apr 14, 2020
  212. # Basic .gitattributes for a python repo.
  213. # Source files
  214. # ============
  215. *.pxd text diff=python
  216. *.py text diff=python
  217. *.py3 text diff=python
  218. *.pyw text diff=python
  219. *.pyx text diff=python
  220. *.pyz text diff=python
  221. *.pyi text diff=python
  222. # Binary files
  223. # ============
  224. *.db binary
  225. *.p binary
  226. *.pkl binary
  227. *.pickle binary
  228. *.pyc binary
  229. *.pyd binary
  230. *.pyo binary
  231. # Jupyter notebook
  232. *.ipynb text
  233. # Note: .db, .p, and .pkl files are associated
  234. # with the python modules ``pickle``, ``dbm.*``,
  235. # ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
  236. # (among others).
  237. ### https://github.com/alexkaratarakis/gitattributes/blob/master/R.gitattributes
  238. ### Latest commit 9932170 on Jun 28, 2020
  239. # Basic .gitattributes for a R repo.
  240. # Source files
  241. # ============
  242. *.Rdata binary
  243. *.RData binary
  244. *.rda binary
  245. *.rdb binary
  246. *.rds binary
  247. *.Rd text
  248. *.Rdx binary
  249. *.Rmd text
  250. *.R text
  251. *.Rproj text
  252. ### https://github.com/alexkaratarakis/gitattributes/blob/master/Web.gitattributes
  253. ### Latest commit bba5b62 3 days ago
  254. ## GITATTRIBUTES FOR WEB PROJECTS
  255. #
  256. # These settings are for any web project.
  257. #
  258. # Details per file setting:
  259. # text These files should be normalized (i.e. convert CRLF to LF).
  260. # binary These files are binary and should be left untouched.
  261. #
  262. # Note that binary is a macro for -text -diff.
  263. ######################################################################
  264. # Auto detect
  265. ## Handle line endings automatically for files detected as
  266. ## text and leave all files detected as binary untouched.
  267. ## This will handle all files NOT defined below.
  268. * text=auto
  269. # Source code
  270. *.bash text eol=lf
  271. *.bat text eol=crlf
  272. *.cmd text eol=crlf
  273. *.coffee text
  274. *.css text diff=css
  275. *.htm text diff=html
  276. *.html text diff=html
  277. *.inc text
  278. *.ini text
  279. *.js text
  280. *.json text
  281. *.jsx text
  282. *.less text
  283. *.ls text
  284. *.map text -diff
  285. *.od text
  286. *.onlydata text
  287. *.php text diff=php
  288. *.pl text
  289. *.ps1 text eol=crlf
  290. *.py text diff=python
  291. *.rb text diff=ruby
  292. *.sass text
  293. *.scm text
  294. *.scss text diff=css
  295. *.sh text eol=lf
  296. *.sql text
  297. *.styl text
  298. *.tag text
  299. *.ts text
  300. *.tsx text
  301. *.xml text
  302. *.xhtml text diff=html
  303. # Docker
  304. Dockerfile text
  305. # Documentation
  306. *.ipynb text
  307. *.markdown text diff=markdown
  308. *.md text diff=markdown
  309. *.mdwn text diff=markdown
  310. *.mdown text diff=markdown
  311. *.mkd text diff=markdown
  312. *.mkdn text diff=markdown
  313. *.mdtxt text
  314. *.mdtext text
  315. *.txt text
  316. AUTHORS text
  317. CHANGELOG text
  318. CHANGES text
  319. CONTRIBUTING text
  320. COPYING text
  321. copyright text
  322. *COPYRIGHT* text
  323. INSTALL text
  324. license text
  325. LICENSE text
  326. NEWS text
  327. readme text
  328. *README* text
  329. TODO text
  330. # Templates
  331. *.dot text
  332. *.ejs text
  333. *.haml text
  334. *.handlebars text
  335. *.hbs text
  336. *.hbt text
  337. *.jade text
  338. *.latte text
  339. *.mustache text
  340. *.njk text
  341. *.phtml text
  342. *.tmpl text
  343. *.tpl text
  344. *.twig text
  345. *.vue text
  346. # Configs
  347. *.cnf text
  348. *.conf text
  349. *.config text
  350. .editorconfig text
  351. .env text
  352. .gitattributes text
  353. .gitconfig text
  354. .htaccess text
  355. *.lock text -diff
  356. package.json text eol=lf
  357. package-lock.json text -diff
  358. pnpm-lock.yaml text eol=lf -diff
  359. yarn.lock text -diff
  360. *.toml text
  361. *.yaml text
  362. *.yml text
  363. browserslist text
  364. Makefile text
  365. makefile text
  366. # Heroku
  367. Procfile text
  368. # Graphics
  369. *.ai binary
  370. *.bmp binary
  371. *.eps binary
  372. *.gif binary
  373. *.gifv binary
  374. *.ico binary
  375. *.jng binary
  376. *.jp2 binary
  377. *.jpg binary
  378. *.jpeg binary
  379. *.jpx binary
  380. *.jxr binary
  381. *.png binary
  382. *.psb binary
  383. *.psd binary
  384. # SVG treated as an asset (binary) by default.
  385. *.svg text
  386. # If you want to treat it as binary,
  387. # use the following line instead.
  388. # *.svg binary
  389. *.svgz binary
  390. *.tif binary
  391. *.tiff binary
  392. *.wbmp binary
  393. *.webp binary
  394. # Audio
  395. *.kar binary
  396. *.m4a binary
  397. *.mid binary
  398. *.midi binary
  399. *.mp3 binary
  400. *.ogg binary
  401. *.ra binary
  402. # Video
  403. *.3gpp binary
  404. *.3gp binary
  405. *.as binary
  406. *.asf binary
  407. *.asx binary
  408. *.avi binary
  409. *.fla binary
  410. *.flv binary
  411. *.m4v binary
  412. *.mng binary
  413. *.mov binary
  414. *.mp4 binary
  415. *.mpeg binary
  416. *.mpg binary
  417. *.ogv binary
  418. *.swc binary
  419. *.swf binary
  420. *.webm binary
  421. # Fonts
  422. *.ttf binary
  423. *.eot binary
  424. *.otf binary
  425. *.woff binary
  426. *.woff2 binary
  427. # RC files (like .babelrc or .eslintrc)
  428. *.*rc text
  429. # Ignore files (like .npmignore or .gitignore)
  430. *.*ignore text
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...