~/talk

Branching in a Monorepo

Talkat Git Mini Summit 2025 · on Thursday, 2025-08-28· [frontend-architecture]
links:none on file
slides:none on file

Meta implements directory branching that keeps multiple copies of a subtree side by side and stores metadata in commit headers linking copies to their sources. Operations are subtree copy, subtree graft (cherry-pick), subtree merge and subtree import (vendoring), which remap changes across paths into ordinary linear commits so main history stays linear. Build/CI (Buck) and code review integrate with the metadata, reducing CI cost and enabling safe experimental branches.

AI-written summary · about

  1. 0:00Monorepo branching challenges
  2. 4:53Traditional branching fails
  3. 7:00Directory branching solution
  4. 10:09Tooling for directory branches
  5. 12:35Vendoring with subtree
  6. 14:40Real-world benefits
  7. 16:45Directory branching in Git
  8. 19:12Design philosophy
  9. 19:58Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.