chore: add repository .gitattributes for line ending normalization
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# Default to LF for text files across the repo
|
||||||
|
* text=auto eol=lf
|
||||||
|
|
||||||
|
# Windows scripts should keep CRLF
|
||||||
|
*.bat text eol=crlf
|
||||||
|
*.cmd text eol=crlf
|
||||||
|
*.ps1 text eol=crlf
|
||||||
|
|
||||||
|
# Shell scripts should keep LF
|
||||||
|
*.sh text eol=lf
|
||||||
|
|
||||||
|
# Common binary assets
|
||||||
|
*.png binary
|
||||||
|
*.jpg binary
|
||||||
|
*.jpeg binary
|
||||||
|
*.gif binary
|
||||||
|
*.webp binary
|
||||||
|
*.ico binary
|
||||||
|
*.pdf binary
|
||||||
|
*.zip binary
|
||||||
|
*.gz binary
|
||||||
|
*.woff binary
|
||||||
|
*.woff2 binary
|
||||||
Reference in New Issue
Block a user