From 194e7b3f635d5b0182ffe9f38398a6bacf673ea9 Mon Sep 17 00:00:00 2001 From: Connor Tann Date: Thu, 10 Feb 2022 16:53:01 +0000 Subject: [PATCH] Add .gitattributes to prevent cross-platform line endings errors --- .gitattributes | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..5a061a10 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,7 @@ + +# Ensure git handles line endings correctly +# Set the default behavior, in case core.autocrlf is not set. +* text=auto + +# Ensure shell scripts are strictly linux-style +*.sh text eol=lf