Added attributes for Git LFS

This commit is contained in:
raccoon
2024-05-21 19:06:23 +05:00
parent d973887e07
commit 37180d145c
2 changed files with 49 additions and 6 deletions

43
.gitattributes vendored
View File

@@ -1,4 +1,4 @@
# * text=auto * text=auto eol=lf
# Unity # Unity
*.anim text eol=lf *.anim text eol=lf
@@ -23,3 +23,44 @@
*.csproj text eol=crlf *.csproj text eol=crlf
*.shader text eol=crlf *.shader text eol=crlf
*.sln text eol=crlf *.sln text eol=crlf
# Blender
*.blend filter=lfs diff=lfs merge=lfs -text
# Maya
*.ma text eol=lf
*.mb filter=lfs diff=lfs merge=lfs -text
# Filmbox
# *your mileage may vary, since .fbx can be either in binary or ascii
# *.fbx text eol=lf
*.fbx filter=lfs diff=lfs merge=lfs -text
# glTF
*.gltf text eol=lf
*.glb filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
# Images
*.bmp filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.pdn filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.psd filter=lfs diff=lfs merge=lfs -text
*.tga filter=lfs diff=lfs merge=lfs -text
*.tif filter=lfs diff=lfs merge=lfs -text
*.tiff filter=lfs diff=lfs merge=lfs -text
# Videos
*.avi filter=lfs diff=lfs merge=lfs -text
*.mkv filter=lfs diff=lfs merge=lfs -text
*.mov filter=lfs diff=lfs merge=lfs -text
*.mp4 filter=lfs diff=lfs merge=lfs -text
*.webm filter=lfs diff=lfs merge=lfs -text
# Sound
*.mp3 filter=lfs diff=lfs merge=lfs -text
*.ogg filter=lfs diff=lfs merge=lfs -text
*.opus filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text

View File

@@ -5,6 +5,7 @@ Omni-template for making VRChat content
The template have: The template have:
- Unity Editor settings for work with Git - Unity Editor settings for work with Git
- Git settings for work with Unity Editor - Git settings for work with Unity Editor
- Git LFS attributes
- Bootstrapper for automated SDK packages download - Bootstrapper for automated SDK packages download
- Compatible with CreatorCompanion (but it may fuck up line endings!) - Compatible with CreatorCompanion (but it may fuck up line endings!)
@@ -23,12 +24,13 @@ The repository have separate branches for separate content types, the only diffe
> ``` > ```
## How to use ## How to use
1. Fork this repo from the branch you want 1. `git init` a new repo from the branch you want
2. Open the project in Unity 2. Init Git LFS with `git lfs install`
3. Let VPM resolve all packages 3. Open the project in Unity
4. Load an example and check that everything works without errors 4. Let VPM resolve all packages
5. Load an example and check that everything works without errors
> After opening the project in Unity Editor you might want to add **all** new untracked files to Git. > After opening the project in Unity Editor you might want to add **all** new files to Git.
## License ## License
For project's license see [/LICENSE](/LICENSE) file. For project's license see [/LICENSE](/LICENSE) file.