Usage
Output
Understanding the Graph
Symbols
Labels
Options
Example Scenarios
Linear History
Feature Branch
Merge Commit
Multiple Branches
When to Use
The graph command is perfect for:- Quick overview: See branch structure at a glance
- Before merging: Understand what will be merged
- After merging: Verify merge was successful
- Debugging: Find where branches diverged
- Scripting: Output is parseable