From 43e258dc6d108ab603064e0d95e01b4b1aee92aa Mon Sep 17 00:00:00 2001 From: Collin Kidder Date: Sun, 28 Jul 2013 08:36:12 -0400 Subject: [PATCH] Add .gitattributes file to normalize line endings --- .gitattributes | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..03e0055 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,20 @@ +# Set default behaviour, in case users don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files we want to always be normalized and converted +# to native line endings on checkout. +*.c text +*.h text +*.cpp text +*.ino text +*.txt text +*.brd text +*.sch text + +# Declare files that will always have CRLF line endings on checkout. +*.sln text eol=crlf +*.vcxproj eol=crlf + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary \ No newline at end of file