Skip to content

Commit 01865d9

Browse files
committed
add gitattributes file
1 parent e265771 commit 01865d9

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

.gitattributes

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Set default behaviour, in case users don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files we want to always be normalized and converted
5+
# to native line endings on checkout.
6+
7+
# Declare files that will always have LF line endings on checkout.
8+
*.c text eol=lf
9+
*.css text eol=lf
10+
*.cpp text eol=lf
11+
.editorconfig text eol=lf
12+
.gitattributes text eol=lf
13+
.gitignore text eol=lf
14+
.gitmodules text eol=lf
15+
*.gyp text eol=lf
16+
*.h text eol=lf
17+
*.hpp text eol=lf
18+
*.html text eol=lf
19+
*.js text eol=lf
20+
*.ts text eol=lf
21+
*.json text eol=lf
22+
LICENSE text eol=lf
23+
*.md text eol=lf
24+
*.puml text eol=lf
25+
*.svg text eol=lf
26+
*.sh text eol=lf
27+
*.sparql text eol=lf
28+
*.ttl text eol=lf
29+
*.yml text eol=lf
30+
31+
# Declare files that will always have CRLF line endings on checkout.
32+
*.bat text eol=crlf
33+
*.cmd text eol=crlf
34+
35+
# Denote all files that are truly binary and should not be modified.
36+
*.gif binary
37+
*.jpg binary
38+
*.node binary
39+
*.png binary

0 commit comments

Comments
 (0)