2

For small repositories I am quite satisfied with my git l command:

[alias]
     l = log \
     --all \
     -n30 \
     --graph \
     --abbrev-commit \
     --decorate \
     --date=relative \
     --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'

Unfortunately, with large repositories and hundreds of branches my tree is becoming too wide and too tall to get the general overview. I did not find a good solution in gitk and I do not know other utilities.

I am looking for a simple tool that generates an HTML dynamic revision tree (that can be folded) using for instance cytoscape or a dendrogram chart from d3.js.

Is there any good KISS tool for this?

serv-inc
  • 35,772
  • 9
  • 166
  • 188
nowox
  • 25,978
  • 39
  • 143
  • 293

2 Answers2

2

You might want to have a look at git-big-picture.

Currently, its graph only contains commit ids and their links, but it should be possible to do an additional git query which supplements the commit message. The (Python-) source is quite readable.

serv-inc
  • 35,772
  • 9
  • 166
  • 188
  • 1
    Nice tool. It would be better in full ASCII-art. I might take inspiration from this and implement my own `git-tree` command – nowox Jul 22 '15 at 12:57
1

While it is not KISS, you might want to have a look at gource, which gives a dynamic graphical representation of who worked on what at what time. That unfortunately only shows the progression of one branch. Have you looked at the tools at the git homepage?

serv-inc
  • 35,772
  • 9
  • 166
  • 188
  • Seems that `gource` gives a representation of the working tree not the revision tree or I did not configured it properly – nowox Apr 29 '15 at 09:18
  • @nowox: yeah, you are right. Apart from that, there are some links on the git homepage. They probably do not exactly solve your problem either, but you might want to have a look. – serv-inc Apr 29 '15 at 09:51