Microsoft's wrapper around partial clone + sparse-checkout + maintenance.
Microsoft's wrapper around partial clone, sparse-checkout, and maintenance — a porcelain optimized for huge monorepos. Ships with Git nowadays.
Scalar isn't a new VCS — it's an opinionated configurator. scalar clone issues a normal git clone --filter=blob:none --no-checkout, runs git sparse-checkout init --cone, registers the repo with git maintenance, and sets a battery of perf-friendly config keys. The repo is a regular Git repo afterward.
scalar clone [--single-branch] [--branch=<main-branch>] [--full-clone] [--[no-]src] <url> [<enlistment>]
scalar list
scalar register [<enlistment>]
scalar unregister [<enlistment>]
scalar run ( all | config | commit-graph | fetch | loose-objects | pack-files ) [<enlistment>]
scalar reconfigure [ --all | <enlistment> ]
scalar diagnose [<enlistment>]
scalar delete <enlistment>| Flag | What it does |
|---|---|
clone <url> | Clone with all the perf wins enabled. |
register/unregister | Add/remove a repo from scalar's maintenance list. |
reconfigure | Re-apply scalar's recommended settings. |
diagnose | Bundle diagnostic info. |
git status on large trees.$ scalar clone https://example.com/monorepo.git$ scalar register ~/work/monorepoHit each option, then Check answers. Score is recorded; Next is always open.