Skip to content

Commit 1dfee83

Browse files
committed
add .gitattributes
1 parent 4a6c00f commit 1dfee83

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.gitattributes

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
*.html text diff=html
5+
*.css text
6+
*.less text
7+
*.js text
8+
*.ts text
9+
*.json text
10+
11+
# Denote all files that are truly binary and should not be modified.
12+
*.png binary
13+
*.jpg binary
14+
15+
# absolute paths are ok, as are globs
16+
/**/postinst* text eol=lf
17+
18+
# paths that don't start with / are treated relative to the .gitattributes folder
19+
relative/path/*.txt text eol=lf

0 commit comments

Comments
 (0)