Storing binary files in GIT
I know there is LFS for git and I know in general you should not store any binary files. But
I have big and complex project (for one repo there are more than 7k files, and those are with .gitignore)
There are a lot of files like *.pdf or *.xls but a lot of tests depends on those tests
I thought initialy to make submodule for all those files and store them in LFS, but those files won't ever change. There is no need for versioning on them
My question is.
What is the best way to store binary files that are not changing in repository but are needed for build/run/test process?
8 Replies
if you never change them then it's not a big deal because you won't bloat your repo with full copies of each version
thanks, one more theorical question. Because of course if they will change they will esentially be twice stored in repo.
What size of repo is bloated?
there's no specific number
I know, but +-?
because I am wondering at what point repo becomes hurdle to work with
my response was based on the claim that the files would be added once and never change
it becomes a hurdle to work with when it's too big
yes of course. But I might find some files that do change 😅
which depends on your network, disk, etc
ok
thanks 🙂