What does Scalar do and when do you recommend it?
AdvancedProductionMonorepos, large files and repository performance
Answer
Scalar (shipped with Git) is a wrapper that clones with partial clone and sparse checkout defaults and enables a tuned set of options: fsmonitor, commit-graph, background maintenance and feature.experimental. We recommend it for repos above a few GB or hundreds of thousands of files.
scalar clone https://github.com/org/mono.git
scalar register
More on Monorepos, large files and repository performance
What are the main trade-offs of a monorepo?IntermediateHow do you make CI efficient in a monorepo?AdvancedHow do you onboard developers to a very large repo without a 30-minute clone?Intermediate`git status` takes 20 seconds in a big working tree. How do you fix it?AdvancedWhen should a team adopt Git LFS and when should it avoid it?IntermediateHow do you control LFS cost and bandwidth in CI?Intermediate