Mermaid Git Graphs Templates
Mermaid Git graph templates for feature branches, GitFlow, and release workflows.
2 templates · Click "Use in Editor" to open any template and customize it instantly. No sign-up required.
Feature Branch
Feature branch workflow with hotfix on main and merge.
gitGraph
commit id: "init"
commit id: "setup"
branch feature/auth
checkout feature/auth
commit id: "add login"
commit id: "add signup"
commit id: "add tests"
checkout main
commit id: "hotfix"
merge feature/auth id: "merge auth"
commit id: "release v1.1"Use in Editor →GitFlow
Full GitFlow with develop, feature branches, release, and main.
gitGraph
commit id: "init"
branch develop
checkout develop
commit id: "dev setup"
branch feature/users
commit id: "user model"
commit id: "user API"
checkout develop
merge feature/users
branch feature/orders
commit id: "order model"
commit id: "order API"
checkout develop
merge feature/orders
branch release/v1.0
commit id: "bump version"
commit id: "fix bug"
checkout main
merge release/v1.0 id: "v1.0" tag: "v1.0"
checkout develop
merge release/v1.0Use in Editor →