Skip to content

Commit c7e89c8

Browse files
committedMar 19, 2020
feat(.gitattributes): create .gitattributes
1 parent 4ead48b commit c7e89c8

File tree

1 file changed

+87
-0
lines changed

1 file changed

+87
-0
lines changed
 

‎.gitattributes

+87
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
2+
# Auto detect text files and perform LF normalization
3+
* text=auto
4+
5+
#
6+
# The above will handle all files NOT found below
7+
#
8+
9+
# Source files
10+
# ============
11+
*.pxd text diff=python
12+
*.py text diff=python
13+
*.py3 text diff=python
14+
*.pyw text diff=python
15+
*.pyx text diff=python
16+
*.pyz text diff=python
17+
*.hdf5 binary
18+
19+
# Documents
20+
*.gitattributes text
21+
.gitignore text
22+
*.md text
23+
*.bibtex text diff=bibtex
24+
*.doc diff=astextplain
25+
*.DOC diff=astextplain
26+
*.docx diff=astextplain
27+
*.DOCX diff=astextplain
28+
*.dot diff=astextplain
29+
*.DOT diff=astextplain
30+
*.pdf diff=astextplain
31+
*.PDF diff=astextplain
32+
*.rtf diff=astextplain
33+
*.RTF diff=astextplain
34+
*.md text
35+
*.tex text diff=tex
36+
*.adoc text
37+
*.textile text
38+
*.mustache text
39+
*.csv text
40+
*.tab text
41+
*.tsv text
42+
*.txt text
43+
*.sql text
44+
45+
# Graphics
46+
*.png binary
47+
*.jpg binary
48+
*.jpeg binary
49+
*.gif binary
50+
*.tif binary
51+
*.tiff binary
52+
*.ico binary
53+
*.svg binary
54+
*.eps binary
55+
56+
# Scripts
57+
*.bash text eol=lf
58+
*.fish text eol=lf
59+
*.sh text eol=lf
60+
# These are explicitly windows files and should use crlf
61+
*.bat text eol=crlf
62+
*.cmd text eol=crlf
63+
*.ps1 text eol=crlf
64+
65+
# Serialisation
66+
*.json text
67+
*.toml text
68+
*.xml text
69+
*.yaml text
70+
*.yml text
71+
72+
# Archives
73+
*.7z binary
74+
*.gz binary
75+
*.tar binary
76+
*.tgz binary
77+
*.zip binary
78+
79+
# Text files where line endings should be preserved
80+
*.patch -text
81+
82+
#
83+
# Exclude files from exporting
84+
#
85+
86+
.gitattributes export-ignore
87+
.gitignore export-ignore

0 commit comments

Comments
 (0)
Please sign in to comment.