Skip to content

Commit 03bc8d5

Browse files
author
Quentin Peter
committed
Add .gitattributes
1 parent 17e764a commit 03bc8d5

File tree

1 file changed

+305
-3
lines changed

1 file changed

+305
-3
lines changed

.gitattributes

+305-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,307 @@
1+
# Standard gitattributes config
2+
3+
# Set the default behavior, in case people don't have core.autocrlf set.
4+
* text eol=lf
5+
6+
# Explicitly declare text files you want to always be normalized and converted
7+
# to native line endings on checkout.
8+
9+
*.txt text
10+
11+
# Source code
12+
*.bash text eol=lf
13+
*.c text
14+
*.cpp text
15+
*.csh text eol=lf
16+
*.fish text eol=lf
17+
*.inc text
18+
*.ipynb text
19+
*.h text
20+
*.ksh text eol=lf
21+
*.ps1 text
22+
*.pxd text diff=python
23+
*.py text diff=python
24+
*.py3 text diff=python
25+
*.pyi text diff=python
26+
*.pyw text diff=python
27+
*.pyx text diff=python
28+
*.qss text
29+
*.r text
30+
*.R text
31+
*.rb text
32+
*.rmd text
33+
*.Rmd text
34+
*.rnw text
35+
*.Rnw text
36+
*.sh text eol=lf
37+
*.zsh text eol=lf
38+
39+
# Documentation
40+
*.adoc text
41+
*.latex text
42+
*.LaTeX text
43+
*.markdown text
44+
*.md text
45+
*.po text
46+
*.pot text
47+
*.rd text
48+
*.Rd text
49+
*.rst text
50+
*.tex text
51+
*.TeX text
52+
*.tmpl text
53+
*.tpl text
54+
55+
# Web
56+
*.atom text
57+
*.css text
58+
*.htm text
59+
*.html text
60+
*.js text
61+
*.jsx text
62+
*.json text
63+
*.php text
64+
*.pl text
65+
*.rss text
66+
*.sass text
67+
*.scss text
68+
*.xht text
69+
*.xhtml text
70+
71+
# Configuration
72+
*.cfg text
73+
*.cnf text
74+
*.conf text
75+
*.config text
76+
*.desktop text
77+
*.inf text
78+
*.ini text
79+
*.plist text
80+
*.toml text
81+
*.xml text
82+
*.yml text
83+
*.yaml text
84+
85+
# Plain text data
86+
*.cdl text
87+
*.csv text
88+
*.dif text
89+
*.geojson text
90+
*.gml text
91+
*.kml text
92+
*.sql text
93+
*.tab text
94+
*.tsv text
95+
*.wkt text
96+
97+
# Other text files
98+
*.diff -text
99+
*.patch -text
100+
101+
# Special files
102+
.*rc text
103+
.checkignore text
104+
.ciocheck text
105+
.ciocopyright text
106+
.editorconfig text
107+
.gitattributes export-ignore
108+
.gitconfig export-ignore
109+
.gitignore export-ignore
110+
.gitmodules export-ignore
111+
.gitkeep export-ignore
112+
*.lektorproject text
113+
.nojekyll text
114+
.project text
115+
116+
AUTHORS text
117+
CHANGELOG text
118+
CHANGES text
119+
CONTRIBUTING text
120+
INSTALL text
121+
license text
122+
LICENSE text
123+
NEWS text
124+
NOTICES text
125+
readme text
126+
*README* text
127+
RELEASE text
128+
TODO text
129+
130+
browserslist text
131+
contents.lr text
132+
makefile text
133+
Makefile text
134+
MANIFEST.in text
135+
136+
137+
# Declare files that will always have CRLF line endings on checkout.
138+
*.bat text eol=crlf
139+
*.cmd text eol=crlf
140+
*.vbs text eol=crlf
141+
*.vb text eol=crlf
142+
143+
144+
# Denote all files that are truly binary and should not be modified.
145+
146+
# Executable
147+
*.app binary
148+
*.bin binary
149+
*.deb binary
150+
*.dll binary
151+
*.dylib binary
152+
*.elf binary
153+
*.exe binary
154+
*.ko binary
155+
*.lib binary
156+
*.msi binary
157+
*.o binary
158+
*.obj binary
159+
*.pyc binary
160+
*.pyd binary
161+
*.pyo binary
162+
*.rdb binary
163+
*.Rdb binary
164+
*.rdx binary
165+
*.Rdx binary
166+
*.rpm binary
167+
*.so binary
168+
*.sys binary
169+
170+
# Data
171+
*.cdf binary
172+
*.db binary
173+
*.dta binary
174+
*.feather binary
175+
*.fit binary
176+
*.fits binary
177+
*.fts binary
178+
*.fods binary
179+
*.geotiff binary
180+
*.gpkg binary
181+
*.h4 binary
182+
*.h5 binary
183+
*.hdf binary
184+
*.hdf4 binary
185+
*.hdf5 binary
186+
*.mat binary
187+
*.nc binary
188+
*.npy binary
189+
*.npz binary
190+
*.odb binary
191+
*.ods binary
192+
*.p binary
193+
*.parquet binary
194+
*.pickle binary
195+
*.pkl binary
196+
*.rdata binary
197+
*.Rdata binary
198+
*.RData binary
199+
*.rda binary
200+
*.Rda binary
201+
*.rds binary
202+
*.Rds binary
203+
*.sav binary
204+
*.sqlite binary
205+
*.wkb binary
206+
*.xls binary
207+
*.XLS binary
208+
*.xlsx binary
209+
*.XLSX binary
210+
211+
# Documents
212+
*.doc binary
213+
*.DOC binary
214+
*.docx binary
215+
*.DOCX binary
216+
*.epub binary
217+
*.fodp binary
218+
*.fodt binary
219+
*.odp binary
220+
*.odt binary
221+
*.pdf binary
222+
*.PDF binary
223+
*.ppt binary
224+
*.PPT binary
225+
*.pptx binary
226+
*.PPTX binary
227+
*.rtf binary
228+
*.RTF binary
229+
230+
# Graphics
231+
*.ai binary
232+
*.bmp binary
233+
*.eps binary
234+
*.fodg binary
235+
*.gif binary
236+
*.icns binary
237+
*.ico binary
238+
*.jp2 binary
239+
*.jpeg binary
240+
*.jpg binary
241+
*.mo binary
242+
*.pdn binary
243+
*.png binary
244+
*.PNG binary
245+
*.psd binary
246+
*.odg binary
247+
*.svg binary
248+
*.svgz binary
249+
*.tif binary
250+
*.tiff binary
251+
*.webp binary
252+
*.xcf binary
253+
254+
# Fonts
255+
*.eot binary
256+
*.otc binary
257+
*.otf binary
258+
*.ttc binary
259+
*.ttf binary
260+
*.woff binary
261+
*.woff2 binary
262+
263+
# Audio/Video
264+
*.aac binary
265+
*.flac binary
266+
*.mka binary
267+
*.mkv binary
268+
*.mp3 binary
269+
*.mp4 binary
270+
*.oga binary
271+
*.ogg binary
272+
*.ogv binary
273+
*.opus binary
274+
*.wav binary
275+
*.webm binary
276+
277+
278+
# Archives
279+
*.7z binary
280+
*.bz2 binary
281+
*.dmg binary
282+
*.gz binary
283+
*.lz binary
284+
*.lzma binary
285+
*.pyz binary
286+
*.rar binary
287+
*.sz binary
288+
*.tar binary
289+
*.tbz2 binary
290+
*.tgz binary
291+
*.tlz binary
292+
*.txz binary
293+
*.xz binary
294+
*.zip binary
295+
296+
# Spyder-related
297+
*.results binary
298+
*.spydata binary
299+
300+
# Other
301+
*.bak binary
302+
*.lnk binary
303+
*.temp binary
304+
*.tmp binary
305+
1306
# Github helper pieces to make some files not show up in diffs automatically
2307
external-deps/**/* linguist-generated=true
3-
4-
# Get better diffs for Python files
5-
*.py diff=python

0 commit comments

Comments
 (0)