chore: enforce LF line endings via .gitattributes (CRLF for .ps1)
This commit is contained in:
parent
3a5209e96c
commit
a3aa2a72bc
1 changed files with 12 additions and 0 deletions
12
.gitattributes
vendored
Normal file
12
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
# Normalize line endings: LF everywhere (so shell scripts work in Linux containers),
|
||||||
|
# CRLF only for Windows-specific PowerShell scripts.
|
||||||
|
* text=auto eol=lf
|
||||||
|
|
||||||
|
*.ps1 text eol=crlf
|
||||||
|
|
||||||
|
*.png binary
|
||||||
|
*.jpg binary
|
||||||
|
*.ico binary
|
||||||
|
*.woff binary
|
||||||
|
*.woff2 binary
|
||||||
|
*.dump binary
|
||||||
Loading…
Add table
Add a link
Reference in a new issue