Skip to content

Commit 18528d0

Browse files
committed
chore: 🔧 add .gitattributes
1 parent 78ef714 commit 18528d0

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

.gitattributes

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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+
*.ex text eol=lf
24+
*.exs text eol=lf
25+
*.css text eol=lf
26+
*.df text eol=lf
27+
*.htm text eol=lf
28+
*.html text eol=lf
29+
*.java text eol=lf
30+
*.js text eol=lf
31+
*.json text eol=lf
32+
*.jsonc text eol=lf
33+
*.jsp text eol=lf
34+
*.jspf text eol=lf
35+
*.md text eol=lf
36+
*.properties text eol=lf
37+
*.scss text eol=lf
38+
*.sh text eol=lf
39+
*.tld text eol=lf
40+
*.ts text eol=lf
41+
*.txt text eol=lf
42+
*.xml text eol=lf
43+
/gradlew text eol=lf
44+
45+
# These files are binary and should be left untouched
46+
# (binary is a macro for -text -diff)
47+
*.class binary
48+
*.dll binary
49+
*.ear binary
50+
*.gif binary
51+
*.ico binary
52+
*.jar binary
53+
*.jpg binary
54+
*.jpeg binary
55+
*.png binary
56+
*.so binary
57+
*.war binary
58+
*.bat text eol=crlf

0 commit comments

Comments
 (0)