From 51650f99631a38ae1bcf8bf7776175525df394db Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 27 Jun 2022 13:05:56 +0530 Subject: [PATCH] Fix: Add git attributes file to standardize EOL characters (#3332) * add git attributes file * fix comment --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..a29a18c99f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +# Set default behavior to automatically normalize line endings. +# All files are checked into the repo and cloned with LF +* text=auto +# Force bash scripts to always use LF line endings so that if a repo is accessed +# in Unix via a file share from Windows, the scripts will work. +*.sh text eol=lf