A simple .gitattributes

I started the project in 4.20.2 and Unreal gave me an option to add a .gitattributes . I really liked the way they did theirs, so I wanted to post it for those who created their project in an earlier version:

Content/** filter=lfs diff=lfs merge=lfs -text

I added the line to ignore .uasset and .umap just to be safe (but I don’t think it was necessary). I like that this .gitattributes directly store everything in the content folder as large file, but I don’t know if Unreal puts .uasset or other large file outside of the content folder?

Privacy & Terms