Skip to content
Mermaid templates

Git graph — cherry-pick + orientation

Cherry-pick, branch ordering, vertical orientation (TB), commit types (HIGHLIGHT / REVERSE).

Template previewMermaid
Rendering…

Make it your own.

---
config:
  gitGraph:
    mainBranchOrder: 2
---
gitGraph TB:
    commit id: "init"
    branch develop order: 1
    commit tag: "v0.1"
    branch feature order: 3
    commit id: "Big feature" type: HIGHLIGHT
    commit
    checkout develop
    cherry-pick id: "Big feature"
    merge feature
    checkout main
    merge develop tag: "v1.0"