Index Ai Academy
Glossary · Phase 11 · Professional practice

Trunk-based development

A workflow where everyone merges small, short-lived branches into one main branch that is always deployable.

Most teams use trunk-based development: main is always deployable, and each change lives on a short-lived branch, a day or two, merged through a pull request. Unfinished features hide behind feature flags, not long-running branches.

Try it now

The one rule: never rebase a branch other people have pulled.

Learn it properly

Git for teams · Branches, pull requests, rebasing and how a three-way merge finds conflicts. About 40 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write