GitGraph Diagrams
What are GitGraph Diagrams?
Mermaid's GitGraph diagrams help you visualize Git workflows and branching strategies. For data teams, they're invaluable for documenting:
Feature development workflows
Release processes
Data pipeline versioning
Model deployment strategies
Hotfix procedures
Team collaboration patterns
Creating Your First GitGraph
From the Code IDE, Click Apps and Agents from the lefthand panel
Select Mermaid. Paradime will automatically start a new mermaid project
In the terminal that appears, use the arrow keys to select "GitGraph Diagrams"
A new
gitGraph.mmd
file will be created in your editor with this starter template:
Click the eye icon (👁️) in the top right corner of your Mermaid file to preview the diagram
Edit and update your
.mmd
file as needed - the preview will update automatically
Core Git Operations
Basic Commands
commit
: Add a new commit to current branchbranch
: Create and switch to a new branchcheckout
: Switch to an existing branchmerge
: Merge a branch into current branch
Commit Customization
Branch Management
Common Data Team Workflows
Feature Development
Release Process
Hotfix Workflow
Advanced Features
Custom Commit Types
NORMAL
: Standard commit (default)REVERSE
: Reverted commitsHIGHLIGHT
: Important commits
Cherry-picking
Orientation Options
Left to Right (default):
gitGraph LR:
Top to Bottom:
gitGraph TB:
Bottom to Top:
gitGraph BT:
Configuration Options
Visual Customization
Branch Ordering
Set main branch order:
mainBranchOrder
Custom branch order:
branch develop order: 2
Default ordering follows appearance in code
Best Practices
Use meaningful commit IDs and tags
Group related changes in feature branches
Mark significant releases with tags
Highlight important commits
Maintain clear branch naming conventions
Document merge strategies
Common Use Cases
Feature branch workflows
Release management
Hotfix procedures
Data pipeline versioning
Model deployment strategies
Team collaboration patterns
Additional Resources
For more syntax options and advanced features, visit the official Mermaid documentation
Last updated