diff --git a/.gitattributes b/.gitattributes index 03db9279..0aeec35e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,10 @@ # Set the default behavior, in case people don't have core.autocrlf set. * text=auto + +# Shell scripts use LF as line separator, even checked out to Windows(NTFS) file-system +*.sh text eol=lf + # Declare files that will always have CRLF line endings on checkout. *.sln text eol=crlf -*.config text eol=lf \ No newline at end of file + +*.config text eol=lf