I've seen some books and articles have some really pretty looking graphs of git branches and commits. How can I make high-quality printable images of git history?
相关问题
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
- Emacs shell: save commit message
- Can I organize Git submodules in a flat hierarchy?
- Upload file > 25 MB on Github
相关文章
- 请教Git如何克隆本地库?
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is there a version control system abstraction for
- ssh: Could not resolve hostname git: Name or servi
- Cannot commit changes with gitextensions
- git: retry if http request failed
Very slightly tweaking Slipp's awesome answer, you can use his aliases to log just one branch:
By leaving off the
--all
you can now door even
I don't know about a direct tool, but maybe you can hack a script to export the data into dot format and render it with graphviz.
There's a funky Git commit graph as one of the demos of the Raphael web graphics library.
The demo is static, but it should be easy enough to take the code and swap out their static data for a live set of data -- I think it's just Git commit data in JSON format.
The demo is here: http://dmitrybaranovskiy.github.io/raphael/github/impact.html
Many of the answers here are great, but for those that just want a simple one line to the point answer without having to setup aliases or anything extra, here it is:
Not everyone would be doing a
git log
all the time, but when you need it just remember:I wrote a web tool for converting git logs into pretty SVG graphs: Bit-Booster - Offline Commit Graph Drawing Tool
Upload output from
git log --pretty='%h|%p|%d'
directly into the tool and then click on the "download graph.svg" link.The tool is pure-client-side, and so none of your Git data is shared with my server. You can also save the HTML + JS locally and run it using "file:///" URL's. Verified on Chrome 48 and Firefox 43 on Ubuntu 12.04.
It generates HTML that can be posted directly into any page (including the blogspot blogging engine!). Take a look at some of the blog posts here:
http://bit-booster.blogspot.ca/
Here's a screenshot of a sample HTML file generated by the tool:
http://bit-booster.com/graph.html (the tool)
GitGraph
Generates a PNG or SVG representation of your Git repository's commit history.
https://code.google.com/p/gitgraph