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:
30
.gitattributes
vendored
Normal file
30
.gitattributes
vendored
Normal 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
|
||||
Reference in New Issue
Block a user