🔀Monorepo
Also known as Monorepository, Mono Repo, Single Repository
One repo that holds the code for many projects. They all share one history.
Think of it like
Think of it like one big toy box for the whole family. All the toys go in it.
Example
Jack's team keeps its web app, its phone app and a shared folder in one monorepo. A fix to the shared login code reaches both apps in one pull request.
Why it matters
Changes that touch many projects land together, so nothing gets out of step.
Definition
Common mistake
Key takeaways
- 1One repository. Many projects share one history.
- 2One change, many projects. A fix can reach them all.
- 3Needs smart tools. Build and test only what changed.