Add .gitattributes with rules for line endings of files.

(cherry picked from commit f2a2be72b341f55c44a035b1257177d83489ea5c)
This commit is contained in:
Rokas Kupstys 2019-10-30 17:50:02 +02:00 committed by omar
parent bcd752cfcc
commit c9ffa62e1f
1 changed files with 30 additions and 0 deletions

30
.gitattributes vendored Normal file
View File

@ -0,0 +1,30 @@
* text=auto
*.c text
*.cpp text
*.h text
*.m text
*.mm text
*.md text
*.txt text
*.html text
*.bat text
*.frag text
*.vert text
*.mkb text
*.icf text
*.sln text eol=crlf
*.vcxproj text eol=crlf
*.vcxproj.filters text eol=crlf
*.natvis text eol=crlf
Makefile text eol=lf
*.sh text eol=lf
*.pbxproj text eol=lf
*.storyboard text eol=lf
*.plist text eol=lf
*.png binary
*.ttf binary
*.lib binary