git-graph is a command-line utility for turning Git history into structured graphs that reflect the branching model used by a repository. Its emphasis is on making complicated histories easier to interpret, particularly where multiple long-lived branches, feature branches and merges make the default Git graph difficult to follow.
The program can use predefined branching models or models created by the user. A model can also be associated with an individual repository so the preferred presentation does not have to be selected every time. This is especially useful when repositories follow named strategies such as GitFlow or project-specific branching conventions. git-graph is a visualization tool rather than an interactive Git client, so it fits naturally alongside existing command-line Git workflows.
This is free and open source software.
Key Features
- Visualizes Git history as a structured branch graph.
- Supports different branching models rather than assuming one fixed workflow.
- Includes predefined models for common repository structures.
- Lets users define custom branching models with TOML configuration files.
- Can store the selected branching model for an individual repository.
- Offers multiple graph presentation styles.
- Includes an ASCII-only mode for environments where special characters are undesirable.
- Supports configurable graph colouring.
- Allows custom commit formatting similar to git log format strings.
- Works directly against Git repositories without requiring a separate repository database.
- Supports repositories using relative worktrees.
- Handles histories containing octopus merges.
Website: github.com/git-bahn/git-graph
Support:
Developer: Martin Lange
License: MIT License
git-graph is written in Rust. Learn Rust with our recommended free books and free tutorials.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.