Add .gitattributes to normalize line endings across machines

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
j.foucher 2026-04-07 12:42:52 +02:00
parent e32c53ffd6
commit fda2e4e32f
13 changed files with 30 additions and 0 deletions

30
.gitattributes vendored Normal file
View File

@ -0,0 +1,30 @@
# Force consistent line endings across all machines
# LF in the repo, native (CRLF on Windows) in working tree
* text=auto
# Source code — always normalize
*.cpp text
*.h text
*.cs text
*.py text
*.ini text
*.json text
*.md text
*.xml text
*.yaml text
*.yml text
# Unreal assets — binary, no normalization
*.uasset binary
*.umap binary
*.uproject text
# Binaries — no normalization
*.dll binary
*.exe binary
*.pdb binary
*.lib binary
*.exp binary
*.so binary
*.dylib binary
*.a binary