From 47bc5079b0011066aa3cabac4da5bb1fb95f583b Mon Sep 17 00:00:00 2001 From: Min-Yang Lee Date: Fri, 18 Feb 2022 08:37:17 -0500 Subject: [PATCH] create .gitattributes to handle EOL further reading: https://www.aleksandrhovhannisyan.com/blog/crlf-vs-lf-normalizing-line-endings-in-git/ --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..7d01426 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# End of line characters are a problem when the team is developing on Windows (CRLF), Unix (LF), and Mac (LF) +# This small file will fix that. Line endings in the repository will be set to LF while local line endings will be left "alone". +# This enables windows users to develop using CRLF but then push using LF. + +* text=auto