Use graphviz for display git repository
Configure ~/.gitconfig:
[alias]
graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f]\\+/\"&\"/g' ; echo '}'; }; %f"
and then run something like:
git graphviz HEAD^^..HEAD | dotty /dev/stdin git graphviz --first-parent master | dotty /dev/stdin
Tip taken from http://git.or.cz/gitwiki/Aliases.
