Skip to content

Commit 584573a

Browse files
committed
Add .gitattributes
1 parent 42089e4 commit 584573a

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.gitattributes

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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+
*.md text
10+
*.adoc text
11+
*.textile text
12+
*.mustache text
13+
*.csv text
14+
*.tab text
15+
*.tsv text
16+
*.css text
17+
*.df text
18+
*.htm text
19+
*.html text
20+
*.java text
21+
*.kt text
22+
*.js text
23+
*.json text
24+
*.jsp text
25+
*.jspf text
26+
*.properties text
27+
*.sh text
28+
*.sql text
29+
*.svg text
30+
*.tld text
31+
*.txt text
32+
*.xml text
33+
*.sql text
34+
35+
#force these files to unix
36+
*.sh text eol=lf
37+
gradlew text eol=lf
38+
39+
# These files are binary and should be left untouched
40+
# (binary is a macro for -text -diff)
41+
*.class binary
42+
*.dll binary
43+
*.ear binary
44+
*.gif binary
45+
*.ico binary
46+
*.jar binary
47+
*.jpg binary
48+
*.jpeg binary
49+
*.png binary
50+
*.so binary
51+
*.war binary

0 commit comments

Comments
 (0)