Created
November 11, 2015 18:18
-
-
Save Teino1978-Corp/f5c969adb5074391423a to your computer and use it in GitHub Desktop.
Ruby script that creates a Graphviz graph showing the high-level structure of a repository's history.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A ruby script that creates a Graphviz graph showing the high-level structure of a repository's history | |
Sample usage: | |
./git-graph.rb <path-to-repo> | dot -Tpng -ohistory.png /dev/stdin | |
./git-graph.rb <path-to-repo> --svg | dot -Tsvg -ohistory.svg /dev/stdin | |
Requires the Grit and fast_xs Ruby libraries. Use bundler to make sure they are installed. | |
Based on http://code.activestate.com/recipes/577572-display-a-git-repository/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment