did-manager/.gitattributes
Namith Jawahar e95909ae32 Add .gitattributes for line endings and export ignores
Introduces a .gitattributes file to normalize line endings for text files, mark binary files, and exclude specific files and directories from distribution archives.
2026-01-13 23:54:52 +05:30

33 lines
650 B
Text

# Auto detect text files and normalize line endings to LF
* text=auto
# Source code
*.php text eol=lf
*.json text eol=lf
*.md text eol=lf
*.toml text eol=lf
*.xml text eol=lf
# Binary files
*.png binary
*.jpg binary
*.gif binary
*.zip binary
*.phar binary
# Exclude from distribution archives
.gitattributes export-ignore
.gitignore export-ignore
phpcs.xml.dist export-ignore
phpunit.xml export-ignore
mago.toml export-ignore
# Exclude directories from distribution
tests/ export-ignore
examples/ export-ignore
docs/ export-ignore
.github/ export-ignore
# Exclude development tools and scripts
.editorconfig export-ignore
.vscode/ export-ignore