Skip to content

Commit f10366f

Browse files
authored
Add .gitattributes (#151)
1 parent eb4abf3 commit f10366f

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

.gitattributes

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Handle line endings automatically for files detected as text
2+
# and leave all files detected as binary untouched.
3+
* text=auto
4+
5+
# Force the following filetypes to have unix eols, so Windows does not break them
6+
*.* text eol=lf
7+
8+
# Windows forced line-endings
9+
/.idea/* text eol=crlf
10+
11+
# Custom for Visual Studio
12+
*.cs diff=csharp
13+
*.sln merge=union
14+
*.csproj merge=union
15+
*.vbproj merge=union
16+
*.fsproj merge=union
17+
*.dbproj merge=union
18+
19+
# Standard to msysgit
20+
*.doc diff=astextplain
21+
*.DOC diff=astextplain
22+
*.docx diff=astextplain
23+
*.DOCX diff=astextplain
24+
*.dot diff=astextplain
25+
*.DOT diff=astextplain
26+
*.pdf diff=astextplain
27+
*.PDF diff=astextplain
28+
*.rtf diff=astextplain
29+
*.RTF diff=astextplain
30+
31+
#
32+
## These files are binary and should be left untouched
33+
#
34+
35+
# (binary is a macro for -text -diff)
36+
*.png binary
37+
*.jpg binary
38+
*.jpeg binary
39+
*.gif binary
40+
*.ico binary
41+
*.mov binary
42+
*.mp4 binary
43+
*.mp3 binary
44+
*.flv binary
45+
*.fla binary
46+
*.swf binary
47+
*.gz binary
48+
*.zip binary
49+
*.7z binary
50+
*.ttf binary
51+
*.eot binary
52+
*.woff binary
53+
*.pyc binary
54+
*.pdf binary
55+
*.ez binary
56+
*.bz2 binary
57+
*.swp binary
58+
59+
*.tgz filter=lfs diff=lfs merge=lfs -text
60+
*.psd filter=lfs diff=lfs merge=lfs -text
61+

0 commit comments

Comments
 (0)