C
C#•13mo ago
fasadin

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
Jimmacle
Jimmacle•13mo ago
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
fasadin
fasadinOP•13mo ago
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?
Jimmacle
Jimmacle•13mo ago
there's no specific number
fasadin
fasadinOP•13mo ago
I know, but +-? because I am wondering at what point repo becomes hurdle to work with
Jimmacle
Jimmacle•13mo ago
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
fasadin
fasadinOP•13mo ago
yes of course. But I might find some files that do change 😅
Jimmacle
Jimmacle•13mo ago
which depends on your network, disk, etc
fasadin
fasadinOP•13mo ago
ok thanks 🙂
Want results from more Discord servers?
Add your server