Selaa lähdekoodia

add gitattributes file (#2282) [ci skip]

Alec Jacobson 2 vuotta sitten
vanhempi
sitoutus
fe8e17c095
1 muutettua tiedostoa jossa 20 lisäystä ja 0 poistoa
  1. 20 0
      .gitattributes

+ 20 - 0
.gitattributes

@@ -0,0 +1,20 @@
+# Set the default behavior, in case people don't have core.autocrlf set.
+* text=auto
+
+# Explicitly declare text files you want to always be normalized and converted
+# to native line endings on checkout.
+*.tex text
+*.bib text
+*.svg text
+*.py text
+*.vbs text
+*.cpp text
+*.hpp text
+Makefile text
+
+# Declare files that will always have CRLF line endings on checkout.
+*.sln text eol=crlf
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.jpg binary