Skip to content

Commit c65fb19

Browse files
author
esemionov
committed
Git attributes file added
1 parent b939463 commit c65fb19

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.gitattributes

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# by default use heuristics
2+
* text=auto
3+
4+
# standard text files
5+
*.java text
6+
*.properties text
7+
*.gradle text
8+
*.cfg text
9+
*.xml text
10+
*.json text
11+
12+
# binary file
13+
*.png -text
14+
*.jpg -text
15+
*.pdf -text
16+
17+
# special text files
18+
# NB: we must undo effect of "* text=auto" here
19+
*.bat !text eol=crlf
20+
*.sh !text eol=lf
21+
gradlew !text eof=lf

0 commit comments

Comments
 (0)