Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DAG-oriented git browser?

There are git intros with pretty graphs to get your head around the concept of "git's history is just a DAG". I'm wondering why there are (seemingly) few visual git browsers that builds upon this exact model for representing the history.

  • git-cola's DAG view (Looks like still an experimental feature)
  • github's network graph (Quite close to what I'm looking for, but it's not a standalone tool)

Other than these, all of the visual git browsers (gitk, git-gui, GitX, etc.) push aside the graph to a narrow column in favor of textual information.

Is there a git repo browser that has the DAG view as the main feature? Any platform, any language, standalone, GUI/CUI doesn't matter.

I'm not looking to solve a specific problem at hand. Just hoping a radical tool may help me reach the git zen.

Edit: related but, in OP's view, different questions:

  • Pretty git branch graphs

I'm looking for more than "a tool to generate a git history DAG"; like a web browser, this hypothetical "DAG-oriented git browser" should be able to view, search, jump and filter the history graph.

like image 838
ento Avatar asked Mar 01 '11 17:03

ento


4 Answers

ungit is a new tool that I'd been waiting for for a while, one which lets you view and manipulate git repositories by dragging around nodes in the commit DAG.

like image 145
Yang Avatar answered Oct 23 '22 21:10

Yang


I don't know of a general purpose tool but I use a small script to do this which uses graphviz to do the actual graphing.

It doesn't work very well for huge graphs. I mostly use it when I do git trainings rather than to visualise my own projects. You might be able to tweak it for your purposes.

It's available here.

like image 27
Noufal Ibrahim Avatar answered Oct 23 '22 21:10

Noufal Ibrahim


git-forest, a non-squeezing graph tool (git log --graph --oneline, but uses Unicode's line drawing characters instead which makes for a more connected tree). Screenshot.

like image 1
user611775 Avatar answered Oct 23 '22 23:10

user611775


gitup is a great tool to visualize and manipulate git history as a graph

enter image description here

like image 1
Mahmoud Adam Avatar answered Oct 23 '22 23:10

Mahmoud Adam