1
0
mirror of https://github.com/gitattributes/gitattributes.git synced 2025-01-22 08:18:50 -05:00
gitattributes/Unity.gitattributes
2022-05-02 09:26:28 -04:00

126 lines
3.1 KiB
Plaintext

# Unity
*.cginc text
*.cs text diff=csharp
*.shader text
# Unity YAML
*.mat merge=unityyamlmerge eol=lf
*.anim merge=unityyamlmerge eol=lf
*.unity merge=unityyamlmerge eol=lf
*.prefab merge=unityyamlmerge eol=lf
*.asset merge=unityyamlmerge eol=lf
*.meta merge=unityyamlmerge eol=lf
*.controller merge=unityyamlmerge eol=lf
# "physic" for 3D but "physics" for 2D
*.physicMaterial2D merge=unityyamlmerge eol=lf
*.physicMaterial merge=unityyamlmerge eol=lf
*.physicsMaterial2D merge=unityyamlmerge eol=lf
*.physicsMaterial merge=unityyamlmerge eol=lf
# Using Git LFS
# Add diff=lfs merge=lfs to the binary files
# Unity LFS
*.cubemap binary
*.unitypackage binary
# 3D models
*.3dm binary
*.3ds binary
*.blend binary
*.c4d binary
*.collada binary
*.dae binary
*.dxf binary
*.FBX binary
*.fbx binary
*.jas binary
*.lws binary
*.lxo binary
*.ma binary
*.max binary
*.mb binary
*.obj binary
*.ply binary
*.skp binary
*.stl binary
*.ztl binary
# Audio
*.aif binary
*.aiff binary
*.it binary
*.mod binary
*.mp3 binary
*.ogg binary
*.s3m binary
*.wav binary
*.xm binary
# Video
*.asf binary
*.avi binary
*.flv binary
*.mov binary
*.mp4 binary
*.mpeg binary
*.mpg binary
*.ogv binary
*.wmv binary
# Images
*.bmp binary
*.exr binary
*.gif binary
*.hdr binary
*.iff binary
*.jpeg binary
*.jpg binary
*.pict binary
*.png binary
*.psd binary
*.tga binary
*.tif binary
*.tiff binary
*.webp binary
# Compressed Archive
*.7z binary
*.bz2 binary
*.gz binary
*.rar binary
*.tar binary
*.zip binary
# Compiled Dynamic Library
*.dll binary
*.pdb binary
*.so binary
# Fonts
*.otf binary
*.ttf binary
# Executable/Installer
*.apk binary
*.exe binary
# Documents
*.pdf binary
# ETC
*.a binary
*.rns binary
*.reason binary
# Collapse Unity-generated files on GitHub
*.asset linguist-generated
*.mat linguist-generated
*.meta linguist-generated
*.prefab linguist-generated
*.unity linguist-generated
# Spine export file for Unity
*.skel.bytes binary