Add .gitattribute (#637)

Lines in `.sh` scripts must always end with `lf`,
even in Windows' git shell
This commit is contained in:
zstadler
2022-11-07 01:08:26 +02:00
committed by GitHub
parent 1243405807
commit 145ea15be3

11
.gitattributes vendored Normal file
View File

@@ -0,0 +1,11 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# behavior for Unix scripts
#
# Unix scripts are treated as binary by default.
###############################################################################
*.sh eol=lf