In software engineering,
trunk-based development (TBD) is a strategy to manage git workflows that favours merging commits into the `main` branch even before the feature is fully complete, instead of the git flow that favours working on long-lived branches until features are 100% complete.
TBD or GitFlow: What's your current developer workflow?
Product Hunt
At @Product Hunt , we're closer to the trunk-based development approach, focusing on smaller PRs and making heavy use of feature flagging.
This allows us to iterate quickly and gather feedback early. By shipping parts of a feature incrementally, we can get input from team members much faster than if we'd wait for a feature to be "100%" complete.
Product Hunt
@sentry_co I'll take a look 👀
Bucket
Bucket
Tana
Bucket
Bucket
Great topic, Flo! Trunk-Based Development (TBD) is great for fast-moving teams, but it needs solid CI/CD and feature flags to avoid breaking things. GitFlow, on the other hand, works well for structured releases but can slow things down.
For us, TBD with short-lived branches strikes the right balance—quick iterations without sacrificing stability. Curious, what’s been the biggest challenge for teams switching from GitFlow to TBD?