Skip to content

Commit 3791b44

Browse files
add gitattributes for windows users
1 parent cd5feab commit 3791b44

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.gitattributes

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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 text
10+
*.df text
11+
*.htm text
12+
*.html text
13+
*.java text
14+
*.js text
15+
*.json text
16+
*.jsp text
17+
*.jspf text
18+
*.properties text
19+
*.sh text
20+
*.svg text
21+
*.tld text
22+
*.txt text
23+
*.xml text
24+
25+
# These files are binary and should be left untouched
26+
# (binary is a macro for -text -diff)
27+
*.class binary
28+
*.dll binary
29+
*.ear binary
30+
*.gif binary
31+
*.ico binary
32+
*.jar binary
33+
*.jpg binary
34+
*.jpeg binary
35+
*.png binary
36+
*.so binary
37+
*.war binary

0 commit comments

Comments
 (0)