Add .gitattributes to normalize line endings and enforce LF for bash scripts

This commit is contained in:
OMGeeky
2025-02-18 22:47:28 +01:00
parent a76d425ab7
commit a71e8fe0a4

6
.gitattributes vendored Normal file
View File

@@ -0,0 +1,6 @@
# Set default behavior to automatically normalize line endings.
* text=auto
# Force bash scripts to always use LF line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf