From 58c5497dcc350ae91676308dc35467ab4b6cf467 Mon Sep 17 00:00:00 2001 From: Panayiotis Savva Date: Sat, 12 Mar 2022 11:16:32 +0200 Subject: [PATCH] fix unix --- .gitattributes | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1c544d8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,20 @@ +# +# Configure line ending normalisation for this repository. +# See http://schacon.github.io/git/gitattributes.html for more information. +# +# Also each developer should configure the old style normalisation on her workstation +# (see http://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/): +# +# Windows user should use: git config --global core.autocrlf = true +# Unix/Linux users should use: git config --global core.autocrlf = input +# + +# Auto detect text files and perform LF normalization +* text=auto + +*.txt text +*.xml text diff=xml +# Shell scripts require LF +*.sh text eol=lf +# Batch scripts require CRLF +*.bat text eol=crlf