Skip to content

Commit 4eb61cd

Browse files
committed
Add .gitattributes for CRLF avoidance
1 parent 0280306 commit 4eb61cd

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.gitattributes

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# These files are text and should be normalized (convert crlf => lf)
2+
*.c text
3+
*.check text
4+
*.css text
5+
*.html text
6+
*.java text
7+
*.js text
8+
*.sbt text
9+
*.scala text
10+
*.sh text
11+
*.txt text
12+
*.xml text
13+
14+
# Windows-specific files get windows endings
15+
*.bat eol=crlf
16+
*.cmd eol=crlf
17+
*-windows.tmpl eol=crlf
18+
19+
# Some binary file types for completeness
20+
# (binary is a macro for -text -diff)
21+
*.dll binary
22+
*.gif binary
23+
*.jpg binary
24+
*.png binary
25+
*.class binary
26+
*.jar binary

0 commit comments

Comments
 (0)