Skip to content

Commit ff07926

Browse files
committed
chore: 🔧 add .gitattributes
1 parent 90627b3 commit ff07926

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

.gitattributes

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# See this article for reference: https://help.github.com/articles/dealing-with-line-endings/
2+
# Refreshing repo after line ending change:
3+
# https://help.github.com/articles/dealing-with-line-endings/#refreshing-a-repository-after-changing-line-endings
4+
5+
# Handle line endings automatically for files detected as text
6+
# and leave all files detected as binary untouched.
7+
* text=auto
8+
9+
# Mark the database schema as having been generated.
10+
gradle/wrapper/gradle-wrapper.jar linguist-generated
11+
gradle/wrapper/gradle-wrapper.properties linguist-generated
12+
13+
# Mark any vendored files as having been vendored.
14+
vendor/* linguist-vendored
15+
16+
#
17+
# The above will handle all files NOT found below
18+
#
19+
# These files are text and should be normalized (Convert crlf => lf)
20+
# Use lf as eol for these files
21+
.editorconfig text eol=lf
22+
.gitignore text eol=lf
23+
*.css text eol=lf
24+
*.df text eol=lf
25+
*.htm text eol=lf
26+
*.html text eol=lf
27+
*.java text eol=lf
28+
*.js text eol=lf
29+
*.json text eol=lf
30+
*.jsp text eol=lf
31+
*.jspf text eol=lf
32+
*.md text eol=lf
33+
*.properties text eol=lf
34+
*.scss text eol=lf
35+
*.sh text eol=lf
36+
*.tld text eol=lf
37+
*.ts text eol=lf
38+
*.txt text eol=lf
39+
*.xml text eol=lf
40+
/gradlew text eol=lf
41+
42+
# These files are binary and should be left untouched
43+
# (binary is a macro for -text -diff)
44+
*.class binary
45+
*.dll binary
46+
*.ear binary
47+
*.gif binary
48+
*.ico binary
49+
*.jar binary
50+
*.jpg binary
51+
*.jpeg binary
52+
*.png binary
53+
*.so binary
54+
*.war binary
55+
*.bat text eol=crlf

0 commit comments

Comments
 (0)