Git Graph
Visualize git branches, commits, and merges with Mermaid. Perfect for documentation, README files, and team onboarding.
gitGraph commit id: "project init" commit id: "add README" branch develop checkout develop commit id: "scaffold app" commit id: "add routing" branch feature/auth checkout feature/auth commit id: "login page" commit id: "JWT handler" commit id: "tests" checkout develop merge feature/auth id: "merge auth" branch feature/dashboard checkout feature/dashboard commit id: "dashboard UI" checkout develop merge feature/dashboard checkout main merge develop tag: "v1.0.0"
Show your branching strategy visually in your project README on GitHub or GitLab.
Explain git workflows like Gitflow, trunk-based development, or feature branch strategies.
Visualize upcoming merges, release branches, and hotfix flows for your team.
gitGraphDeclare diagram typecommit id: "label"Add a commit with a labelbranch nameCreate a new branchcheckout nameSwitch to a branchmerge nameMerge a branch into currenttag: "v1.0"Add a tag to a committype: HIGHLIGHTHighlight a commit visuallyOpen FlowViz and type gitGraph.
Add commits to the main branch: commit id: "initial commit".
Create a feature branch: branch feature/my-feature.
Switch to it: checkout feature/my-feature.
Add commits on the feature branch.
Switch back: checkout main.
Merge the branch: merge feature/my-feature.
Add version tags with tag: "v1.0.0" on a commit.
No signup. No install. Just open the editor and start writing.