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

(cherry picked from commit a71e8fe0a40bae529e818d559eccfd2897509255)
This commit is contained in:
OMGeeky
2025-02-18 22:47:28 +01:00
parent 7b30cc6355
commit cd78ee3ad0

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