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:
mikeboensel 2026-02-17 22:14:50 -05:00 committed by GitHub
commit b2993d68c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

33
.gitattributes vendored Normal file
View 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