Skip to content

Commit 8395876

Browse files
authored
Change line endings to LF in github
1 parent 7d33c7c commit 8395876

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.gitattributes

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Handle line endings automatically for files detected as text
2+
# and leave all files detected as binary untouched.
3+
* text=auto
4+
5+
#
6+
# The above will handle all files NOT found below
7+
#
8+
# These files are text and should be normalized (Convert crlf => lf)
9+
*.css eol=lf
10+
*.df eol=lf
11+
*.htm eol=lf
12+
*.html eol=lf
13+
*.java eol=lf
14+
*.js eol=lf
15+
*.json eol=lf
16+
*.jsp eol=lf
17+
*.jspf eol=lf
18+
*.jspx eol=lf
19+
*.properties eol=lf
20+
*.sh eol=lf
21+
*.tld eol=lf
22+
*.txt eol=lf
23+
*.tag eol=lf
24+
*.tagx eol=lf
25+
*.xml eol=lf
26+
*.yml eol=lf
27+
28+
# These files are binary and should be left untouched
29+
# (binary is a macro for -text -diff)
30+
*.class binary
31+
*.dll binary
32+
*.ear binary
33+
*.gif binary
34+
*.ico binary
35+
*.jar binary
36+
*.jpg binary
37+
*.jpeg binary
38+
*.png binary
39+
*.so binary
40+
*.war binary

0 commit comments

Comments
 (0)