Skip to content

Commit 08d6da6

Browse files
committed
Add gitattributes
1 parent 4b70bc7 commit 08d6da6

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

.gitattributes

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Set default behavior to automatically normalize line endings.
2+
* text=auto
3+
4+
*.doc diff=astextplain
5+
*.DOC diff=astextplain
6+
*.docx diff=astextplain
7+
*.DOCX diff=astextplain
8+
*.dot diff=astextplain
9+
*.DOT diff=astextplain
10+
*.pdf diff=astextplain
11+
*.PDF diff=astextplain
12+
*.rtf diff=astextplain
13+
*.RTF diff=astextplain
14+
15+
*.jpg binary
16+
*.png binary
17+
*.gif binary
18+
19+
*.lss text
20+
21+
# Force bash scripts to always use lf line endings so that if a repo is accessed
22+
# in Unix via a file share from Windows, the scripts will work.
23+
*.in text eol=lf
24+
*.sh text eol=lf
25+
26+
# Likewise, force cmd and batch scripts to always use crlf
27+
*.cmd text eol=crlf
28+
*.bat text eol=crlf
29+
30+
*.cs text diff=csharp
31+
*.vb text
32+
*.resx text
33+
*.c text
34+
*.cpp text
35+
*.cxx text
36+
*.h text
37+
*.hxx text
38+
*.py text
39+
*.rb text
40+
*.java text
41+
*.html text
42+
*.htm text
43+
*.css text
44+
*.scss text
45+
*.sass text
46+
*.less text
47+
*.js text
48+
*.lisp text
49+
*.clj text
50+
*.sql text
51+
*.php text
52+
*.lua text
53+
*.m text
54+
*.asm text
55+
*.erl text
56+
*.fs text
57+
*.fsx text
58+
*.hs text
59+
60+
*.csproj text
61+
*.vbproj text
62+
*.fsproj text
63+
*.dbproj text
64+
*.sln text eol=crlf

0 commit comments

Comments
 (0)