logo

Eugene's Space

Branching sucks. Trunk-based development git emoji will boost your project!

I am now working on a cool startup and I’m really glad we adopt this model.

Trunk-based development git emoji

The idea of trunk based development is to collaborate on a single branch called trunk and avoid creating long-lived branches.

Why is it so good?

Trunk-based development helps to avoid many problems that extensive branching creates. Let’s see why branching might be bad:

On top of that trunk-based development encourages you to rebase often. This means developers always have a clear view of how their changes interact with everyone else’s changes.

It also offers you an opportunity to skip Pull Requests entirely! This is an insane boost to development, but it only works if the developers trust each other and communicate frequently enough. If you do pair programming, there’s really no need to do any code review!