DEV Community

Cover image for When I don't (exactly) use Trunk-Based Development
Jonathan Hall
Jonathan Hall

Posted on • Originally published at jhall.io on

When I don't (exactly) use Trunk-Based Development

One topic that comes back constantly is git branching models. It’s no secret that I don’t like GitFlow, and generally advocate using trunk-based development (TBD) instead. But there are a few cases where TBD isn’t enough, and I want to talk about a couple of them.

Both of these examples come from open-source work. Although the first one can apply to a wide number of products, the second one will be extremely rare.

  1. Long-term support releases

  2. Following a versioned spec

So there you have it. I’m on record admitting that I don’t always use TBD, I sometimes use long-lived branches, and I sometimes even share an in-progress branch with other developers. All practices I regularly preach against. Even the best rules have a time and place to be broken, I guess. :)


If you enjoyed this message, subscribe to The Daily Commit to get future messages to your inbox.

Dynatrace image

Highlights from KubeCon Europe 2025

From platform engineering to groundbreaking advancements in security and AI, discover the KubeCon Europe 2025 insights that are shaping the future of cloud native observability.

Learn more

Top comments (0)

👋 Kindness is contagious

Explore this compelling article, highly praised by the collaborative DEV Community. All developers, whether just starting out or already experienced, are invited to share insights and grow our collective expertise.

A quick “thank you” can lift someone’s spirits—drop your kudos in the comments!

On DEV, sharing experiences sparks innovation and strengthens our connections. If this post resonated with you, a brief note of appreciation goes a long way.

Get Started