upcarta
  • Sign In
  • Sign Up
  • Explore
  • Search

Why I prefer trunk-based development

  • Article
  • May 29, 2023
  • #ComputerProgramming
Trisha Gee
@trisha_gee
(Author)
trishagee.com
Read on trishagee.com
1 Recommender
1 Mention
These days, distributed version control systems like Git have "won the war" of version control. One of the arguments I used to hear when DVCSs were gaining traction was around how e... Show More

These days, distributed version control systems like Git have "won the war" of version control. One of the arguments I used to hear when DVCSs were gaining traction was around how easy it is to branch and merge with a VCS like Git. However, I'm a big fan of Trunk-Based Development (TBD), and I want to tell you why.

With trunk-based development, all developers work on a single branch (e.g. 'main'). You might have read or heard Martin Fowler or Dave Farley talking about it. It was when I was working with Dave (around about the time that Git was rapidly becoming the "go-to" version control system) that I really saw the benefits of trunk-based development for the team, particularly in an environment that was pioneering Continuous Delivery - Dave was writing the book with Jez Humble while I worked with him.

In contrast, the branching model encourages developers to create separate branches for every feature, bug fix, or enhancement. Although branching may seem like a logical approach to isolate changes and reduce risk, several factors make me more comfortable with trunk-based development.

Show Less
Recommend
Post
Save
Complete
Collect
Mentions
See All
Dave Farley @davefarley77 ยท May 29, 2023
  • Post
  • From Twitter
Excellent article on the value of "Trunk Based Development" from @trisha_gee , well I would say it is "excellent" because it says I am right ๐Ÿคฃ๐Ÿคฃ ...but thanks Trish ๐Ÿ˜๐Ÿ˜Ž
  • upcarta ©2025
  • Home
  • About
  • Terms
  • Privacy
  • Cookies
  • @upcarta