jankenbots/.gitattributes

29 lines
816 B
Text

# Normalize line endings; Unity is happiest with LF for its YAML text assets.
* text=auto eol=lf
*.cs text diff=csharp eol=lf
# Unity YAML text assets — mergeable with UnityYAMLMerge
*.unity merge=unityyamlmerge eol=lf
*.prefab merge=unityyamlmerge eol=lf
*.asset merge=unityyamlmerge eol=lf
*.meta merge=unityyamlmerge eol=lf
*.mat merge=unityyamlmerge eol=lf
*.anim merge=unityyamlmerge eol=lf
*.controller merge=unityyamlmerge eol=lf
# Common binary asset types (mark binary so git doesn't mangle them)
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.psd binary
*.fbx binary
*.obj binary
*.wav binary
*.mp3 binary
*.ogg binary
*.dll binary
*.a binary
*.so binary
# NOTE: no Git LFS yet. Add it (and move large binaries to LFS) once real art/audio lands.