Git graph maker
Write Git-like commands - commit, branch, checkout, merge - and get a clean branch diagram. Ideal for explaining a branching strategy or a release.
How to use the Git graph maker
- Start from the Git graph template.
- Use commit, branch name, checkout name and merge name, one per line.
- Add id: "text" to label a commit and tag: "v1.0" for releases.
- Download a PNG, SVG, PDF or Word file.
What you get
- Branches in their own colours
- Merges and cherry-picks
- Commit labels and tags
- Left-to-right or top-to-bottom
About the Git graph maker
Explain a workflow
GitFlow, trunk-based development or a hotfix process are far easier to follow as a picture. Keep the text in the repo next to CONTRIBUTING.md.
It is only a drawing
Nothing touches a real repository: the commands just describe the picture.
Frequently asked questions
- How do I tag a release?
- Add tag: "v1.0" to a commit line, for example commit id: "Release" tag: "v1.0".
- Can I rename the main branch?
- Yes, with a config block in front matter (mainBranchName), or just use branch names you like.
- Is my diagram uploaded?
- No. It is drawn in your browser.