浏览代码

Add .gitattributes with rules for line endings of files.

(cherry picked from commit f2a2be72b341f55c44a035b1257177d83489ea5c)
Rokas Kupstys 5 年之前
父节点
当前提交
c9ffa62e1f
共有 1 个文件被更改,包括 30 次插入0 次删除
  1. 30 0
      .gitattributes

+ 30 - 0
.gitattributes

@@ -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