Git graph · Diagram Design

1.2.0 release train

Main stays on top. A billing feature merges, main moves one column, release/1.2 is cut from that later commit, a timeout hotfix lands on that branch, v1.2.0 is tagged, and that commit is merged back to main.

1.2.0 release train Main on top. A billing feature merges, main moves one column, release/1.2 is cut from that later commit, a timeout hotfix lands on that branch, v1.2.0 is tagged, and that commit is merged back to main. time → main release/1.2 feat/billing merge cut hotfix v1.2.0 LEGEND Commit Hotfix / release Tag Columns are time; a merge is a dot with two parents.

THE CUT

Feature first, then release/1.2

Billing merges to main as a two-parent commit. Main then moves one column, and the release branch is cut from that later commit, so the cut does not share ink with the incoming feature merge.

HOTFIX

Timeout fix on the release branch

The hotfix lands on release/1.2, not on a fourth lane. The tagged commit is then merged back to main. Coral marks the hotfix and the tagged release.

TAG

v1.2.0 names the patched cut

The outlined label attaches to the release commit after the hotfix. Main receives that commit through the second merge, one column later.