VFSForGit VS git

Compare VFSForGit vs git and see what are their differences.

VFSForGit

Virtual File System for Git: Enable Git at Enterprise Scale (by microsoft)

git

A fork of Git containing Microsoft-specific patches. (by microsoft)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
VFSForGit git
24 10
5,938 724
0.3% 1.2%
4.7 0.0
about 2 months ago 7 days ago
C# C
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

VFSForGit

Posts with mentions or reviews of VFSForGit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-02.
  • Debian Git Monorepo
    4 projects | news.ycombinator.com | 2 Apr 2024
    It's not only Windows that uses Git at Microsoft, but Sharepoint and Office (which includes the on-prem version of SharePoint). In terms of repo size Windows and Office are similar. I was part of the team that migrated Sharepoint from a Perforce clone to Git and helped build the tooling to allow Office to move as well. VFS for Git [1] and Scalar [2] are really good pieces of software.

    [1] - https://github.com/microsoft/VFSForGit

    [2] - https://github.com/microsoft/scalar

  • Serving a Website from a Git Repo Without Cloning It
    5 projects | news.ycombinator.com | 18 Feb 2024
    Congratulations! That means you basically figured out how the clone procedure works and found a way to do so just in a partial way (also in an unsafe way). But it is a cool idea, nonetheless.

    Also check out the Scalar [1] project and its predecessor, GVFS [2], both from Microsoft to manage their monorepo via a VFS layer.

    [1]: https://github.com/microsoft/scalar

    [2]: https://github.com/microsoft/VFSForGit

  • We Put Half a Million Files in One Git Repository, Here's What We Learned (2022)
    4 projects | news.ycombinator.com | 28 Aug 2023
    VFS for Git is still Open Source: https://github.com/microsoft/VFSForGit

    Microsoft's blog posts have indicated a move to use something as close to off-the-shelf git as possible, though. They say they've stopped using VFS much and are instead more often relying on sparse checkouts. They've upstreamed a lot of patches into git itself, and maintain their own git fork but the fork distance is generally shrinking as those patches upstream.

  • Why SQLite Does Not Use Git
    13 projects | news.ycombinator.com | 22 Jul 2023
    https://github.com/microsoft/VFSForGit

    better than it used to, with the caveat that git in particular is not and has never claimed to be good at versioning blobs.

  • 🐂 🌾 Oxen.ai - Blazing Fast Unstructured Data Version Control, built in Rust
    5 projects | /r/rust | 16 Feb 2023
    Oh dear you're not going to like this.
  • He is very conservative...
    2 projects | /r/ProgrammerHumor | 3 Feb 2023
    It’s virtualised file system: https://github.com/microsoft/VFSForGit, only downloads what you actually use. Same thing in every large company, but different implementations.
  • FYI: LLVM-project repo has exceeded GitHub upload size limit
    7 projects | news.ycombinator.com | 30 Jan 2023
    This is where something like VFSForGit[0] helps out. Instead of cloning the entire repo, it creates a virtual file system and fetches objects on demand. MSFT uses it internally for the Windows source tree (which now exceeds 300GB).

    [0]: https://github.com/microsoft/VFSForGit

  • Created a Small Program To Display Upcoming Assignments On My Desktop
    3 projects | /r/csharp | 28 Jan 2023
    There's also a performance consideration. Not excluding /bin/ or /obj/ folders means dependencies are being tracked as well, and sometimes dependencies themselves are bigger than the program's source code itself. This is commonly the case with node projects, as the node_modules folder can balloon to hundreds of megabytes. They should never be tracked in git due to the nature of how git's internal database works. For e.g. if you delete a dependency because it's no longer needed, you can never fully reclaim that disk space (at least for the master branch) as git will need to keep the binary data stored in its internal tracking database because a previous commit in the master branch has captured the data. As you make more branches, git needs to store the data required to reconstruct your repo to a different state when you switch branches. When a branch has changes measured in the kilobytes, check out is very manageable, but when the differences balloon to many MBs due to the presence of heavy binary files, then checkout between different branches/commits can get very slow. Though, this happens anyway when source code data eventually reaches a certain threshold, beyond the hundreds of megabytes, it's made unnecessarily worse by including any binary files. It's one of the reasons Microsoft created VFS for git: https://github.com/microsoft/VFSForGit.
  • Meta releases Sapling, a new way of using source control
    4 projects | /r/programming | 15 Nov 2022
  • Software for managing config files
    2 projects | /r/sysadmin | 22 Oct 2022
    You mean like VFSforGit? Or the successor for that called Scalar? This has been a solved problem. Microsoft moved their entire Windows codebase to git. There have been a ton of huge improvements to performance as a result of that. And the above two plugins are easily better ways to deal with what you're referring to without resulting to dead tech.

git

Posts with mentions or reviews of git. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-10.
  • Ask HN: Can we do better than Git for version control?
    17 projects | news.ycombinator.com | 10 Dec 2023
    Microsoft had a bunch of solutions to handle their massive Windows repo: VFS for Git (GVFS), Scalar, and now it has a bunch of MS specific patches on top of the official git client, but apparently that one is also not required any more as partial clone is now supported on azure as well (which is another such implementation from Microsoft employees that made it to both GitHub and upstream git).

    https://github.blog/2020-01-17-bring-your-monorepo-down-to-s...

    https://devblogs.microsoft.com/devops/introducing-scalar/

    https://github.com/microsoft/git

    https://devblogs.microsoft.com/devops/git-partial-clone-now-...

  • We Put Half a Million Files in One Git Repository, Here's What We Learned (2022)
    4 projects | news.ycombinator.com | 28 Aug 2023
    That was discontinued (like multiple times under different names). And is moved into a git fork. https://github.com/microsoft/git
  • How to convince management that something like Git is industry standard?
    10 projects | /r/sysadmin | 5 Jul 2022
  • Improve Git monorepo performance with a file system monitor
    6 projects | news.ycombinator.com | 29 Jun 2022
    Interesting! It seems some of Scalar from late 2021 has already made it into the official git project's contrib dir [0]. It looks like Scalar is mostly an opinionated way to configure git [1], especially by using git partial-clone.

    Git partial-clone looks almost perfect, except it only downloads and displays files explicitly added to the git sparse-checkout list. I want some "magic" vfs shenanigans that lets me view and browse the full repo exactly as if the full repo where checked out, but when I open a directory or file the contents are downloaded on-demand.

    [0]: https://github.com/git/git/tree/master/contrib/scalar

    [1]: https://github.com/microsoft/git/blob/vfs-2.37.0/Documentati...

  • GitHub incident: 2022/03/24
    1 project | news.ycombinator.com | 24 Mar 2022
    Ironically, Microsoft has been a major contributor to improvements in git for handling large repos after Windows was migrated to git.

    https://github.com/microsoft/git

  • The largest Git repo on the planet (2017)
    1 project | news.ycombinator.com | 26 Jan 2022
    300GB git repo... anyway, good to see there's work for merge in back to git proper, though it seems like that is still a work in progress (maybe) as https://github.com/Microsoft/git/ still seems pretty active.
  • Make your monorepo feel small with Git’s sparse index
    7 projects | news.ycombinator.com | 11 Nov 2021
    This is well written and deserves my upvote, because sparse-checkout is part of git and knowing how it works is useful.

    That said, there's absolutely no reason to structure your code in a monorepo.

    Here's what I think GitHub is doing:

    1) Encourage monorepo adoption

    2) Build tooling for monorepos

    3) Selling tooling to developers stranded in monorepos

    Microsoft, which owns GitHub, created the microsoft/git fork linked in the article, and they explain their justification here: https://github.com/microsoft/git#why-is-this-fork-needed

    > Well, because Git is a distributed version control system, each Git repository has a copy of all files in the entire history. As large repositories, aka monorepos grow, Git can struggle to manage all that data. As Git commands like status and fetch get slower, developers stop waiting and start switching context. And context switches harm developer productivity.

    I believe that Google's brand is so big that it led to this mass cognitive dissonance, which is being exploited by GitHub.

    To be clear, here are the two ideas in conflict:

    * Git is decentralized and fast, and Google famously doesn't use it.

    * Companies want to use "industry standard" tech, and Google is the standard for success.

    Now apply those observations to a world where your engineers only use "git".

    The result is market demand to misuse git for monorepos, which Microsoft is pouring huge amounts of resources into enabling via GitHub.

    It makes great sense that GitHub wants to lean into this. More centralization and being more reliant on GitHub's custom tooling is obviously better for GitHub.

    It just so happens that GitHub is building tools to enable monorepos, essentially normalizing their usage.

    Then GitHub can sell tools to deal with your enormous monorepo, because your traditional tools will feel slow and worse than GitHub's tools.

    In other words, GitHub is propping up the failed monorepo idea as a strategy to get people in the pipeline for things like CodeSpaces: https://github.com/features/codespaces

    Because if you have 100 projects and they're all separate, you can do development locally for each and it's fast and sensible. But if all your projects are in one repo, the tools grind to a halt, and suddenly you need to buy a solution that just works to meet your business goals.

  • Gitfs: Version Controlled File System
    7 projects | news.ycombinator.com | 22 Aug 2021
    VFS for Git was superceded by https://github.com/microsoft/scalar and then many of the features were merged into mainline git, so what is left now is a thin shell around git features in the form of MS's forked git binary: https://github.com/microsoft/git

What are some alternatives?

When comparing VFSForGit and git you can also consider the following projects:

scalar - Scalar: A set of tools and extensions for Git to allow very large monorepos to run on Git without a virtualization layer

gitfs - Version controlled file system

EdenSCM - A Scalable, User-Friendly Source Control System. [Moved to: https://github.com/facebook/sapling]

juicefs - JuiceFS is a distributed POSIX file system built on top of Redis and S3.

mvfs - ClearCase file system

dvc - 🦉 ML Experiments and Data Management with Git

libgit2 - A cross-platform, linkable library implementation of Git that you can use in your application.

git-fs - fuse + libgit2

hubfs - File system for GitHub & GitLab

Git - Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.