Merge pull request #727 from zeroclaw-labs/git_attributes_for_cross_platform_dev
feat(repo): add .gitattributes for cross-platform line ending normalization
This commit is contained in:
commit
b2993d68c4
1 changed files with 33 additions and 0 deletions
33
.gitattributes
vendored
Normal file
33
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
# Normalize all text files
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
# Force LF for scripts and build-critical files
|
||||||
|
*.sh text eol=lf
|
||||||
|
Dockerfile* text eol=lf
|
||||||
|
*.rs text eol=lf
|
||||||
|
*.toml text eol=lf
|
||||||
|
*.yml text eol=lf
|
||||||
|
*.yaml text eol=lf
|
||||||
|
|
||||||
|
# CI
|
||||||
|
.github/**/* text eol=lf
|
||||||
|
|
||||||
|
# Images
|
||||||
|
*.png binary
|
||||||
|
*.jpg binary
|
||||||
|
*.jpeg binary
|
||||||
|
*.gif binary
|
||||||
|
*.ico binary
|
||||||
|
|
||||||
|
# Archives
|
||||||
|
*.zip binary
|
||||||
|
*.tar binary
|
||||||
|
*.tgz binary
|
||||||
|
*.gz binary
|
||||||
|
*.7z binary
|
||||||
|
|
||||||
|
# Compiled artifacts
|
||||||
|
*.so binary
|
||||||
|
*.dll binary
|
||||||
|
*.exe binary
|
||||||
|
*.a binary
|
||||||
Loading…
Add table
Add a link
Reference in a new issue