Command line tool to show clear git graphs arranged for your branching model
Command line tool to show clear git graphs arranged for your branching model
A command line tool to visualize Git history graphs in a comprehensible way, following different branching models.
The image below shows an example using the GitFlow branching model for a comparison between graphs generated by git-graph (far left) versus other tools and Git clients.
GitFlow was chosen for its complexity, while any other branching model is supported, including user-defined ones.
Decide for yourself which graph is the most comprehensible. :sunglasses:
If you want an interactive Git terminal application, see git-igitt, which is based on git-graph.
git log --format="..."Pre-compiled binaries
git-graph to your PATH environmental variableUsing cargo
In case you have Rust installed, you can install with cargo:
cargo install git-graphFrom homebrew
If you use the homebrew package manager:
brew install git-graphFor detailed information, see the manual.
For basic usage, run the following command inside a Git repository's folder:
git-graphNote: git-graph needs to be on the PATH, or you need use the full path to git-graph:
C:/path/to/git-graph/git-graph
Branching models
Run git-graph with a specific model, e.g. simple:
git-graph --model simpleAlternatively, set the model for the current repository permanently:
git-graph model simpleGet help
For the full CLI help describing all options, use:
git-graph -h
git-graph --helpFor styles and commit formatting, see the manual.
Branching models are configured using the files in APP_DATA/git-graph/models.
C:\Users\\AppData\Roaming\git-graph~/.config/git-graph~/Library/Application Support/git-graphFile names of any .toml files in the models directory can be used in parameter --model, or via sub-command model. E.g., to use a branching model defined in my-model.toml, use:
git-graph --model my-modelFor details on how to create your own branching models see the manual, section Custom branching models.
origin.Please report any issues and feature requests in the issue tracker.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
No open issues yet, or sync has not completed.