visionmedia/git-extras — Issue #69: new feature: git graph
Author: millermedeiros
Created: 2012-02-05 16:27:23+00:00
State: open

I have this alias on my `.gitconfig` file:

```git
[alias]
graph = log --graph --date-order -C -M --pretty=format:\"<%h> %ad [%an] %Cgreen%d%Creset %s\" --all --date=short
```

it displays a nice graph with all the commits, branches names, etc:

![graph](http://i.imgur.com/31MPB.png)

May be useful to somebody else, since I added this alias I stopped using `gitk` completely.

source: http://stackoverflow.com/a/6212370