1
0
mirror of https://github.com/gitattributes/gitattributes.git synced 2025-01-22 00:08:52 -05:00
gitattributes/Unity.gitattributes

128 lines
3.0 KiB
Plaintext
Raw Normal View History

2023-07-27 18:13:20 -04:00
# Define macros
[attr]lfs filter=lfs diff=lfs merge=lfs -text
[attr]unity-yaml merge=unityyamlmerge text linguist-language=yaml
2023-07-27 18:13:20 -04:00
2019-06-15 06:17:55 -04:00
# Unity
2023-07-27 18:15:10 -04:00
*.cginc text
*.cs text diff=csharp
*.shader text
2019-06-15 06:17:55 -04:00
# Unity YAML
2023-07-27 18:15:10 -04:00
*.anim unity-yaml
*.asset unity-yaml
*.controller unity-yaml
2023-07-27 18:17:00 -04:00
*.mat unity-yaml
*.meta unity-yaml
*.prefab unity-yaml
*.unity unity-yaml
2019-06-15 06:17:55 -04:00
# "physic" for 3D but "physics" for 2D
2023-07-27 18:15:10 -04:00
*.physicMaterial unity-yaml
2023-07-27 18:17:00 -04:00
*.physicsMaterial2D unity-yaml
2019-06-15 06:17:55 -04:00
2019-07-06 05:01:51 -04:00
# Using Git LFS
2023-07-27 18:13:20 -04:00
# Replace 'binary' with 'lfs' on large files you wish to track with LFS
2019-07-06 05:01:51 -04:00
2019-06-15 06:17:55 -04:00
# Unity LFS
2023-07-27 18:15:10 -04:00
*.cubemap binary
*.unitypackage binary
2019-06-15 06:17:55 -04:00
# 3D models
2023-07-27 18:15:10 -04:00
*.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
2019-06-15 06:17:55 -04:00
# Audio
2023-07-27 18:15:10 -04:00
*.aif binary
*.aiff binary
*.it binary
*.mod binary
*.mp3 binary
*.ogg binary
*.s3m binary
*.wav binary
*.xm binary
2019-06-15 06:17:55 -04:00
# Video
2023-07-27 18:15:10 -04:00
*.asf binary
*.avi binary
*.flv binary
*.mov binary
*.mp4 binary
*.mpeg binary
*.mpg binary
*.ogv binary
*.wmv binary
2019-06-15 06:17:55 -04:00
# Images
2023-07-27 18:15:10 -04:00
*.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
2019-06-15 06:17:55 -04:00
# Compressed Archive
*.7z binary
*.bz2 binary
*.gz binary
*.rar binary
*.tar binary
*.zip binary
2019-06-15 06:17:55 -04:00
# Compiled Dynamic Library
*.dll binary
*.pdb binary
*.so binary
2019-06-15 06:17:55 -04:00
# Fonts
*.otf binary
*.ttf binary
2019-06-15 06:17:55 -04:00
# Executable/Installer
*.apk binary
*.exe binary
2019-06-15 06:17:55 -04:00
# Documents
*.pdf binary
2019-06-15 06:17:55 -04:00
# ETC
*.a binary
*.reason binary
2023-07-27 18:17:00 -04:00
*.rns binary
2019-06-15 06:17:55 -04:00
# Collapse Unity-generated files on GitHub
*.asset linguist-generated
*.mat linguist-generated
*.meta linguist-generated
*.prefab linguist-generated
*.unity linguist-generated
2020-10-19 06:17:10 -04:00
# Spine export file for Unity
*.skel.bytes binary