Skip to content

Commit fa883b1

Browse files
committed
update gitattributes
1 parent 48f5d24 commit fa883b1

File tree

1 file changed

+57
-5
lines changed

1 file changed

+57
-5
lines changed

.gitattributes

Lines changed: 57 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,60 @@
1-
* text eol=lf
1+
# Common settings that generally should always be used with your language specific settings
22

3-
*.java text diff=java
4-
*.kt text diff=java
5-
*.kts text diff=java
3+
# Auto detect text files and perform LF normalization
4+
* text eol=lf
65

6+
# The above will handle all files NOT found below
7+
8+
*.md text
9+
*.tex text diff=tex
10+
*.adoc text
11+
*.textile text
12+
*.mustache text
13+
*.csv text
14+
*.tab text
15+
*.tsv text
16+
*.txt text
17+
*.sql text
18+
19+
# Graphics
20+
*.png binary
21+
*.jpg binary
22+
*.jpeg binary
23+
*.gif binary
24+
*.tif binary
25+
*.tiff binary
26+
*.ico binary
27+
*.eps binary
28+
# SVG treated as an asset (binary) by default.
29+
*.svg text
30+
31+
# Properties
32+
*.json text
33+
*.toml text
34+
*.xml text
35+
*.yaml text
36+
*.yml text
37+
38+
# Scripts
39+
*.bash text eol=lf
40+
*.fish text eol=lf
41+
*.sh text eol=lf
742
# These are explicitly windows files and should use crlf
8-
*.bat text eol=crlf
43+
*.bat text eol=crlf
44+
*.cmd text eol=crlf
45+
*.ps1 text eol=crlf
46+
47+
48+
# JVM sources
49+
*.java text diff=java
50+
*.gradle text diff=java
51+
*.kt text diff=java
52+
*.kts text diff=java
53+
54+
# Text files where line endings should be preserved
55+
*.patch -text
56+
57+
#
58+
# Exclude files from exporting
59+
.gitattributes export-ignore
60+
.gitignore export-ignore

0 commit comments

Comments
 (0)