Mermaid template

Git Graph

Branches, commits and merges drawn as a git history - release flows and branching strategies.

gitGraph
    commit id: "init"
    commit id: "setup"
    branch feature
    checkout feature
    commit id: "add editor"
    commit id: "add export"
    checkout main
    commit id: "hotfix"
    merge feature tag: "v1.0"
    commit id: "docs"

A git graph shows commits on branches and where they merge. It is a good way to explain a branching strategy such as feature branches or release trains without screenshots of a git client.

commit adds a commit, branch creates and switches to a new branch, checkout switches, and merge joins a branch back. Give commits an id or a tag to label them.

Spotted a bug or have a suggestion?

Found something broken, have an idea, or just want to say thanks about any of our tools? Every message reaches a real person.