Output Git content in Graphviz's DOT language.
The usage of the DOT output is left to external tools supporting the language, for example:
This tool is mostly meant for educational purpose:
In case you're giving a training, the trainees should be able to use their regular development platform of choice. Installing must then be super easy, just by using a binary file.
To explain the Git internals, it's necessary to show the trees and blobs. Thus, all types of Git objects should be allowed to be displayed.
Explaining Git is better done visualizing smaller and simpler repositories. The tool is then not intended to be used on big repositories with many objects and references. No effort is done on optimizations for such use case.
See the alternatives file for similar tools with their limitations and extras.
Runtime dependencies:
Build dependencies:
# build all
make
# build executable only
make git-dot
# build documentation only
make doc
# run test suite
make check
Objects: squarish and cold color
References: roundish and warm color
type | representation |
---|---|
annotated-tag | |
blob | |
branch | |
commit | |
lightweight-tag | |
tree |
See the full information of options in the documentation.