Large files with git-lfs, which files do you track?
git-lfs version 1.0 has just been released and is now also supported by Github. To be able to keep specific files separate in the large files store you have to track them with the following command: git lfs track "*.psd" (This example keeps all your photoshop files separate)
I'd like to use Git for my level design but the questions is which files within the directory structure should I keep in the LFS? Does anyone have a list I can use?
asked Oct 11 '15 at 03:08 PM in Using UE4
You might as well track all uasset files.
Why not all the files? LFS is an extension to git, mainly so you can put large files on github.com which prevents files over a certain size. Git is designed as a server-less VCS, so you can push and pull to a folder on your hard drive, your workmate's computer, send
So if ever in the future you want to go to a different server other than github.com, you'll have to do extra work with all the LFS files. Like download a different LFS client. Therefore you should try to limit LFS files to just the ones that could be big.
(Now that LFS has been out a while, I'm changing my opinion.)
answered May 30 '17 at 01:07 AM
[update: see other answer, now I think you should track all uasset if one of them goes over the limit]
Anything large that changes often would benefit from LFS. Unfortunately, some
So IMHO, the best way to use Github LFS with UE4, is manually when you see or expect a large file to change often.
Follow this question
Once you sign in you will be able to subscribe for any updates here