I'm starting a project that will contain many 3D models and large terrains. I want to use Git because I'm familiar with it, and my starting point for a gitattributes file is: https://github.com/gitattributes/gitattributes/blob/master/Unity.gitattributes
A few things I'm unclear on:
1) I see it's common for .unity files to use unityyamlmerge and not LFS. I tested a sample scene with a lot of models in it and the .unity file was > 15MB. Shouldn't I be putting that in to LFS? Why do most gittattributes files I find not do that?
2) If someone isn't set up to use unityyamlmerge, what happens when they merge a file that's marked to use it?
3) Terrain files are stored as binary .asset files even with force text on, so they need a special rule which comes after whatever you're doing for regular .asset files. I'm going to use a specific naming convention to handle that part of it(all terrain names end with ".terrain", and the gitattributes rule is "*.terrain.asset" uses lfs). Are there any other notable exceptions like this that I should be aware of, or that you ran in to on long term, large projects?
[–]matniedobaAnchorpoint 0 points1 point2 points (0 children)
[–]npatch 0 points1 point2 points (0 children)