From 77f29c2d9635f0b600ca65dd2bfa240c0651af7c Mon Sep 17 00:00:00 2001 From: zstadler Date: Sun, 6 Nov 2022 15:03:23 +0200 Subject: [PATCH] Add .gitattribute Lines in `.sh` scripts must always end with `lf`, even in Windows' git shell --- .gitattributes | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..210d79d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# behavior for Unix scripts +# +# Unix scripts are treated as binary by default. +############################################################################### +*.sh eol=lf