Skip to content

Commit e050073

Browse files
author
Rustam Zaitov
committed
add attributes file
This should help to avoid eol nightmare during merge to master branch
1 parent dd42f51 commit e050073

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+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout.
6+
*.c text
7+
*.h text
8+
*.cs text
9+
*.csproj text
10+
11+
# Declare files that will always have CRLF line endings on checkout.
12+
*.sln text eol=crlf
13+
14+
# Declare files that will always have LF line endings on checkout.
15+
*.sh text eol=lf
16+
17+
# Denote all files that are truly binary and should not be modified.
18+
*.png binary
19+
*.jpg binary

0 commit comments

Comments
 (0)