瀏覽代碼

Gitattributes (#383)

* Added .gitattributes to deal with cross platform line endings correctly
Charlie Kindel 5 年之前
父節點
當前提交
11445abf78
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. 16 0
      .gitattributes

+ 16 - 0
.gitattributes

@@ -0,0 +1,16 @@
+# Set the default behavior for all files.
+* text=auto
+
+# Normalized and converts to 
+# native line endings on checkout.
+*.cs text
+
+# Convert to CRLF line endings on checkout.
+*.sln text eol=crlf
+
+# Convert to LF line endings on checkout.
+*.sh text eol=lf
+
+# Binary files.
+*.png binary
+*.jpg binary