From de76eb46e78c67eddbe268b99438f8d7033f268a Mon Sep 17 00:00:00 2001 From: Martin Budden Date: Sat, 11 Jan 2020 08:21:38 +0000 Subject: [PATCH] Initial commit. Set default text file line endings to LF. --- .gitattributes | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ab734f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,16 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto eol=lf + +# Declare text files that are normalized and converted on checkout. +*.scad text +*.py text +*.md text + +# Handle Windows batch and command files +*.{bat,[bB][aA][tT]} text eol=crlf +*.{cmd,[cC][mM][dD]} text eol=crlf + +# Denote files that are binary and should not be modified. +*.png binary +*.jpg binary +