Skip to content

Commit 80056f3

Browse files
committed
Added .gitattributes
1 parent 234f11f commit 80056f3

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.gitattributes

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files to always be normalized and converted
5+
# to native line endings on checkout:
6+
*.csproj text
7+
*.nuspec text
8+
*.sln eol=crlf
9+
*.msg text
10+
*.txt text
11+
*.yml text
12+
*.cs text diff=csharp
13+
*.md text diff=markdown
14+
*.editorconfig text
15+
*.json text
16+
*.xml text
17+
*.bash text eol=lf
18+
*.sh text eol=lf
19+
*.bat text eol=crlf
20+
*.cmd text eol=crlf
21+
*.css text
22+
*.scss text diff=css
23+
*.htm text diff=html
24+
*.html text diff=html
25+
*.sql text
26+
*.js text
27+
*.ts text
28+
29+
# Declare files that will always have CRLF line endings on checkout.
30+
*.sln text eol=crlf
31+
*.{cmd,[cC][mM][dD]} text eol=crlf
32+
*.{bat,[bB][aA][tT]} text eol=crlf
33+
34+
# Documents
35+
*.docx diff=astextplain
36+
*.xlsx binary
37+
*.pdf diff=astextplain
38+
*.csv text
39+
40+
# Denote all files that are truly binary and should not be modified.
41+
*.png binary
42+
*.gif binary
43+
*.jpg binary
44+
*.cdr binary
45+
*.psd binary

0 commit comments

Comments
 (0)