Browse Source

Gitattributes (#383)

* Added .gitattributes to deal with cross platform line endings correctly
Charlie Kindel 5 years ago
parent
commit
11445abf78
1 changed files with 16 additions and 0 deletions
  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