Created
March 3, 2023 15:56
-
-
Save nukopy/5f73c01bc80e55ddf52ed896efb93556 to your computer and use it in GitHub Desktop.
.gitattributes to use Git LFS for Unity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ref: https://ikep.hatenablog.com/entry/2018/11/09/005207 | |
## Unity ## | |
*.cs diff=csharp text | |
*.cginc text | |
*.shader text | |
*.mat merge=unityyamlmerge eol=lf | |
*.anim merge=unityyamlmerge eol=lf | |
*.unity merge=unityyamlmerge eol=lf | |
*.physicsMaterial2D merge=unityyamlmerge eol=lf | |
*.physicsMaterial merge=unityyamlmerge eol=lf | |
*.asset merge=unityyamlmerge eol=lf | |
*.meta merge=unityyamlmerge eol=lf | |
*.controller merge=unityyamlmerge eol=lf | |
## git-lfs ## | |
#Image | |
*.jpg filter=lfs diff=lfs merge=lfs -text | |
*.jpeg filter=lfs diff=lfs merge=lfs -text | |
*.png filter=lfs diff=lfs merge=lfs -text | |
*.gif filter=lfs diff=lfs merge=lfs -text | |
*.psd filter=lfs diff=lfs merge=lfs -text | |
*.ai filter=lfs diff=lfs merge=lfs -text | |
*.bmp filter=lfs diff=lfs merge=lfs -text | |
*.tiff filter=lfs diff=lfs merge=lfs -text | |
*.iff filter=lfs diff=lfs merge=lfs -text | |
*.pict filter=lfs diff=lfs merge=lfs -text | |
#Audio | |
*.mp3 filter=lfs diff=lfs merge=lfs -text | |
*.wav filter=lfs diff=lfs merge=lfs -text | |
*.ogg filter=lfs diff=lfs merge=lfs -text | |
*.aiff filter=lfs diff=lfs merge=lfs -text | |
*.mod filter=lfs diff=lfs merge=lfs -text | |
*.it filter=lfs diff=lfs merge=lfs -text | |
*.s3m filter=lfs diff=lfs merge=lfs -text | |
*.xm filter=lfs diff=lfs merge=lfs -text | |
*.aif filter=lfs diff=lfs merge=lfs -text | |
#Video | |
*.mp4 filter=lfs diff=lfs merge=lfs -text | |
*.mov filter=lfs diff=lfs merge=lfs -text | |
*.avi filter=lfs diff=lfs merge=lfs -text | |
*.mpg filter=lfs diff=lfs merge=lfs -text | |
*.mpeg filter=lfs diff=lfs merge=lfs -text | |
*.asf filter=lfs diff=lfs merge=lfs -text | |
#3D Object | |
*.FBX filter=lfs diff=lfs merge=lfs -text | |
*.fbx filter=lfs diff=lfs merge=lfs -text | |
*.blend filter=lfs diff=lfs merge=lfs -text | |
*.obj filter=lfs diff=lfs merge=lfs -text | |
*.dae filter=lfs diff=lfs merge=lfs -text | |
*.3ds filter=lfs diff=lfs merge=lfs -text | |
*.dxf filter=lfs diff=lfs merge=lfs -text | |
*.max filter=lfs diff=lfs merge=lfs -text | |
*.ma filter=lfs diff=lfs merge=lfs -text | |
*.mb filter=lfs diff=lfs merge=lfs -text | |
#font | |
*.ttf filter=lfs diff=lfs merge=lfs -text | |
*.otf filter=lfs diff=lfs merge=lfs -text | |
# Android | |
*.a filter=lfs diff=lfs merge=lfs -text | |
*.so filter=lfs diff=lfs merge=lfs -text | |
# library | |
*.dll filter=lfs diff=lfs merge=lfs -text | |
#ETC | |
*.exr filter=lfs diff=lfs merge=lfs -text | |
*.tga filter=lfs diff=lfs merge=lfs -text | |
*.pdf filter=lfs diff=lfs merge=lfs -text | |
*.zip filter=lfs diff=lfs merge=lfs -text | |
*.rns filter=lfs diff=lfs merge=lfs -text | |
*.reason filter=lfs diff=lfs merge=lfs -text | |
*.lxo filter=lfs diff=lfs merge=lfs -text | |
*.rar filter=lfs diff=lfs merge=lfs -text | |
*.tar filter=lfs diff=lfs merge=lfs -text | |
*.gz filter=lfs diff=lfs merge=lfs -text | |
*.lzh filter=lfs diff=lfs merge=lfs -text | |
*.7z filter=lfs diff=lfs merge=lfs -text | |
# | |
*.spm filter=lfs diff=lfs merge=lfs -text | |
*.tif filter=lfs diff=lfs merge=lfs -text | |
*.tiff filter=lfs diff=lfs merge=lfs -text | |
*.unity filter=lfs diff=lfs merge=lfs -text | |
*.unitypackage filter=lfs diff=lfs merge=lfs -text | |
*.apk filter=lfs diff=lfs merge=lfs -text | |
LightingData.asset filter=lfs diff=lfs merge=lfs -text | |
Assets/Fonts/NotoSansJP-Medium[[:space:]]SDF.asset filter=lfs diff=lfs merge=lfs -text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment