r/git 2d ago

survey VFS for Git for Linux?

So I was learning Git and found out that a Git repository essentially contains two copies of the repository contents. One is from the first commit of every object and other from the working tree.

This can be made more space efficient by working with files from Git's database itself as if they were in our working tree. Modifying files create a new local copy in the working tree. They can be deleted after committing.

This is what the VFS for Git project is. But, it is for Windows only. Why is there no equivalent tool than can run on Linux, unless I am missing it?

0 Upvotes

8 comments sorted by

View all comments

7

u/DanLynch 2d ago

Git is designed and optimized for doing source control of human-scale text files, whose size is not a significant performance concern. If you are using it to track very large text files, or binary files, where the size on disk is something you might actually care about, then Git may not be the right tool for the job.