From 9181fd8af8132edee25fcc8df8a751d814e394c8 Mon Sep 17 00:00:00 2001 From: GP Date: Fri, 5 May 2023 15:39:02 +0530 Subject: [PATCH] fix: set up gitattributes to stop the line ending fuckery --- .gitattributes | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..bcd492de --- /dev/null +++ b/.gitattributes @@ -0,0 +1,7 @@ +# REFER: https://www.aleksandrhovhannisyan.com/blog/crlf-vs-lf-normalizing-line-endings-in-git/ + +# All files are checked into the repo with LF +* text=auto + +# These files are checked out using CRLF locally +*.bat eol=crlf