Trunk-Based Development
Trunk-Based Development is a source control strategy where developers collaborate on code in a single shared branch called 'trunk'.
In Trunk-Based Development, developers commit code frequently to the trunk branch multiple times a day. Features are developed in short-lived feature branches, which are merged back into trunk once the feature is complete. This keeps the trunk branch stable as it moves forward. The mainline (trunk) should always remain in a releasable state.
Some key benefits of Trunk-Based Development include improved team collaboration from a single source of truth, faster release cycles by reducing merge debt, and continuous integration and delivery since trunk is always ready to release. Overall, Trunk-Based Development enables agility and velocity for engineering teams through its promotion of small batches of work integrated frequently.