Skip to content

Commit 20da116

Browse files
committed
added .gitattributes
1 parent 99eae6e commit 20da116

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.gitattributes

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout.
6+
*.c text
7+
*.h text
8+
*.cpp text
9+
*.def text
10+
*.cs text
11+
*.py text
12+
*.rb text
13+
14+
# Declare files that will always have CRLF line endings on checkout.
15+
*.bat text eol=crlf
16+
*.sln text eol=crlf
17+
*.csproj text eol=crlf
18+
*.proj text eol=crlf
19+
*.rtf text eol=crlf
20+
*.rbproj text eol=crlf
21+
*.vcxproj text eol=crlf
22+
*.vdproj text eol=crlf
23+
24+
25+
# Denote all files that are truly binary and should not be modified.
26+
*.png binary
27+
*.jpg binary
28+
*.dll binary
29+
*.pyd binary
30+
*.exe binary
31+
*.bmp binary
32+
*.zip binary
33+
34+
# Do not normalize on commit.
35+
*.pdf -text

0 commit comments

Comments
 (0)