From 89ba719f07445cfedefacd80dba1c2a9523611db Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Thu, 9 Feb 2023 00:35:25 +0000 Subject: [PATCH] fix: \r\n on windows --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..855758dfb --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +# if you don't do this +# a windows clone will fail +# because the .sh scripts will have their \n's turned into +# \r\n, and then bash will fail to run \r as a command. +# the future is now. +*.sh text eol=lf \ No newline at end of file