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.
More on Branching strategies, pull requests and code review
What is a feature-branch workflow?BeginnerWhat is GitFlow and what are its branches?IntermediateWhat is GitHub Flow and how does it differ from GitFlow?BeginnerWhat is release-branch strategy with cherry-picked fixes?IntermediateWhat makes a good pull request?BeginnerWhat is a draft pull request?Beginner