Add .gitattributes to enforce LF line endings
This commit is contained in:
parent
9d537dec5f
commit
c4673f70e0
1 changed files with 18 additions and 0 deletions
18
.gitattributes
vendored
Normal file
18
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Normalize line endings to LF for all text files
|
||||
* text=auto eol=lf
|
||||
|
||||
# Explicitly handle markdown
|
||||
*.md text eol=lf
|
||||
|
||||
# Explicitly handle config files
|
||||
*.yml text eol=lf
|
||||
*.yaml text eol=lf
|
||||
*.json text eol=lf
|
||||
*.toml text eol=lf
|
||||
|
||||
# Binary files — don't touch
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.jpeg binary
|
||||
*.gif binary
|
||||
*.pdf binary
|
||||
Loading…
Add table
Reference in a new issue