From 1fa3e6ae467050d78e1571842092263f8ea94100 Mon Sep 17 00:00:00 2001 From: Kfir Hadas Date: Wed, 26 Jul 2017 18:57:46 +0300 Subject: [PATCH] Add .gitattributes (#310) This makes life much easier when working on Windows. And makes sure all of the codes are committed with LF as EOL char. --- .gitattributes | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fe0ccb7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,36 @@ +# +# Makes sure all files detected as text have LF as the EOL character, +# and leaves all files detected as binary untouched. +# + +* text=auto eol=lf + +# +# Text files +# + +# Example +# *.ext text + +# +# Binary files (binary is a macro for -text -diff) +# + +# Minified web files +*.min.css binary +*.min.js binary + +# Images +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.ico binary + +# Fonts +*.svg binary +*.ttf binary +*.woff binary +*.woff2 binary +*.eot binary +*.otf binary