Add .gitattributes to enforce LF line endings

This commit is contained in:
HugeFrog24
2024-10-22 15:55:52 +02:00
parent 010ce923a1
commit 602f5b4d0d

13
.gitattributes vendored Normal file
View File

@@ -0,0 +1,13 @@
# Enforce LF line endings for all files
* text eol=lf
# Specific file types that should always have LF line endings
*.go text eol=lf
*.json text eol=lf
*.sh text eol=lf
*.md text eol=lf
# Example: Binary files should not be modified
*.jpg binary
*.png binary
*.gif binary