Skip to content

Commit 8e1fe8b

Browse files
committed
Add git attributes
1 parent 7ff7e90 commit 8e1fe8b

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.gitattributes

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Java sources
5+
*.java text diff=java eol=lf
6+
*.gradle text diff=java eol=lf
7+
8+
# These files are text and should be normalized (Convert crlf => lf)
9+
*.css text diff=css eol=lf
10+
*.html text diff=html eol=lf
11+
*.md text diff=markdown eol=lf
12+
*.js text eol=lf
13+
*.csv text eol=lf
14+
*.json text eol=lf
15+
*.properties text eol=lf
16+
*.svg text eol=lf
17+
*.xml text eol=lf
18+
*.yaml text eol=lf
19+
*.yml text eol=lf
20+
*.toml text eol=lf
21+
*.lang text eol=lf
22+
23+
# These files are binary and should be left untouched
24+
*.png binary
25+
*.gif binary
26+
*.jpg binary
27+
*.jpeg binary
28+
29+
# Common build-tool wrapper scripts
30+
mvnw text eol=lf
31+
gradlew text eol=lf
32+
*.sh text eol=lf
33+
*.bat text eol=crlf
34+
*.cmd text eol=crlf

0 commit comments

Comments
 (0)