Interview Prep/Git & GitHub/Branching strategies, pull requests and code review

What is trunk-based development and what does it require?

IntermediateConceptBranching strategies, pull requests and code review
Answer

Developers integrate into a single trunk at least daily using very short-lived branches or direct commits. Incomplete work is hidden behind feature flags. It requires fast reliable CI, good automated tests, small PRs and a culture of fixing a broken trunk immediately. DORA research links it to high delivery performance.

All Git & GitHub questions Roadmap: Git & GitHub

More on Branching strategies, pull requests and code review