Facebook Engineering Blog
Branching in a Sapling Monorepo

Branching in a Sapling Monorepo

10/16/2025

What this post added

This post introduces Sapling, Meta's open-source source control system designed for its large monorepo. It details the development and open-sourcing of a novel monorepo branching solution, specifically 'directory branching,' which addresses the scalability and developer experience challenges of traditional full-repo branching in a monorepo environment. It also discusses integration with build systems like Buck2 and potential future work on Git repository integration.

Read the original post ↗