Skip to content

git Improvements for Monorepos

Microsoft has been doing things to git, they report.

[W]e […] have a handful of teams with repos of unusual size! For example, the Windows codebase has over 3.5 million files and is over 270 GB in size. The Git client was never designed to work with repos with that many files or that much content. You can see that in action when you run “git checkout” and it takes up to 3 hours, or even a simple “git status” takes almost 10 minutes to run. That’s assuming you can get past the “git clone”, which takes 12+ hours.

What Microsoft is doing here is called a Monorepo approach. It not insane, has many advantages and is being discussed at length at Dan Luu, and is also in use with Facebook and Google and in many other places. But git is running into problems handling very large Monoreports, as discussed in an article at Atlassian.

What Microsoft GVFS does, according to their paper, is addressing the issues git has instead of working around them. And that is an awesome thing.

Published inComputer ScienceErklärbär

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *