chore: add .gitattributes to enforce LF line endings for shell scripts, YAML, systemd units, and nginx configs
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
# Default: normalize all text files to LF on commit
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
# Force LF for files that must be LF on Linux hosts
|
||||||
|
*.sh text eol=lf
|
||||||
|
*.yml text eol=lf
|
||||||
|
*.yaml text eol=lf
|
||||||
|
*.service text eol=lf
|
||||||
|
*.conf text eol=lf
|
||||||
Reference in New Issue
Block a user