views:

1746

answers:

5

I've seen some books and articles have some really pretty looking graphs of git branches and commits. Is there any tool that can make high-quality printable images of git history?

A: 

I'm not sure of any git-specific tools but if you cn get the raw data out of git then you coulld construct graphs of various natures using excel which has an array of options for making things pretty

Possibly look into whether Git has an API for this, or possibly parsing the git output directly for data if you have to

Crippledsmurf
+2  A: 

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.

Thomas
+1  A: 

Did you try gitk or gitk --all ? However it doesn't have a print/save img as function.

Adrian Panasiuk
gitk is efficient but not very beautiful.
Johan
+2  A: 
Dustin
D**n, im trying to not buy a mac ;)
krosenvold
+3  A: 

for textual output you can try:

git log --graph --oneline --all

or here's a graphviz alias for drawing the DAG graph.

I personally use gitx, gitk --all and gitnub.

keo