From 61465f9eb8c6d3aad1ece41605b0a444dfddbfd8 Mon Sep 17 00:00:00 2001 From: Matthew de Detrich Date: Mon, 14 Nov 2022 21:16:27 +0100 Subject: [PATCH] Add .gitattributes to enforce unix line endings --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..9dde9b97 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# Activate line ending normalization, setting eol will make the behavior match core.autocrlf = input +* text=auto eol=lf +# Force batch scripts to always use CRLF line endings +*.{cmd,[cC][mM][dD]} text eol=crlf +*.{bat,[bB][aA][tT]} text eol=crlf