2025-02-09 21:35:41 +08:00
|
|
|
# 二进制文件统一配置
|
|
|
|
*.png filter=lfs diff=lfs merge=lfs binary
|
|
|
|
*.mb filter=lfs diff=lfs merge=lfs binary
|
|
|
|
*.ma filter=lfs diff=lfs merge=lfs binary
|
|
|
|
*.fbx filter=lfs diff=lfs merge=lfs binary
|
|
|
|
*.dna filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
# 指定目录配置(如果需要特殊处理)
|
|
|
|
assets/** filter=lfs diff=lfs merge=lfs
|
|
|
|
assets/maya/** filter=lfs diff=lfs merge=lfs
|
|
|
|
assets/MH.2/** filter=lfs diff=lfs merge=lfs
|
|
|
|
assets/MH.4/** filter=lfs diff=lfs merge=lfs
|
|
|
|
|
|
|
|
# 文本文件配置
|
|
|
|
*.py text eol=lf
|
|
|
|
*.json text eol=lf
|
|
|
|
*.xml text eol=lf
|
|
|
|
*.txt text eol=lf
|
|
|
|
|
|
|
|
# 确保脚本文件使用正确的行尾
|
|
|
|
*.sh text eol=lf
|
|
|
|
*.bat text eol=crlf
|
|
|
|
|
|
|
|
# 其他常用配置
|
|
|
|
.gitattributes text eol=lf
|
|
|
|
.gitignore text eol=lf
|