© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
11 replies
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?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ GitHub + GitKraken
C#CC# / help
9mo ago
Writing and Reading binary files not working
C#CC# / help
3y ago
❔ credentials in git
C#CC# / help
4y ago
❔ Environment variables vs configuration files for storing secrets
C#CC# / help
3y ago