Add .gitattributes to enforce unix line endings

This commit is contained in:
Matthew de Detrich 2022-11-02 21:17:07 +01:00 committed by Matthew de Detrich
parent b79cee657b
commit 0e876025e8

5
.gitattributes vendored Normal file
View file

@ -0,0 +1,5 @@
# Activate line ending normalization, setting eol will make the behavior match core.autocrlf = input
* text=auto eol=lf
# Force batch scripts to always use CRLF line endings
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf