chore: .gitattributes updated for line ending normalization
This commit is contained in:
parent
57d0442291
commit
b26b873c29
1 changed files with 29 additions and 0 deletions
29
.gitattributes
vendored
29
.gitattributes
vendored
|
|
@ -1 +1,30 @@
|
||||||
|
# Ensure consistent line endings across platforms
|
||||||
|
* text=auto eol=lf
|
||||||
|
|
||||||
|
# Shell scripts: always LF
|
||||||
*.sh text eol=lf
|
*.sh text eol=lf
|
||||||
|
|
||||||
|
# YAML, Ansible, Kubernetes manifests: always LF
|
||||||
|
*.yml text eol=lf
|
||||||
|
*.yaml text eol=lf
|
||||||
|
|
||||||
|
# Markdown & docs: LF
|
||||||
|
*.md text eol=lf
|
||||||
|
|
||||||
|
# Ignore line ending normalization for binaries
|
||||||
|
*.png binary
|
||||||
|
*.jpg binary
|
||||||
|
*.jpeg binary
|
||||||
|
*.gif binary
|
||||||
|
*.svg binary
|
||||||
|
*.ico binary
|
||||||
|
*.pdf binary
|
||||||
|
*.zip binary
|
||||||
|
*.tar.gz binary
|
||||||
|
*.tgz binary
|
||||||
|
|
||||||
|
# Git attributes file itself should be LF
|
||||||
|
.gitattributes text eol=lf
|
||||||
|
|
||||||
|
# EditorConfig file should be LF
|
||||||
|
.editorconfig text eol=lf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue