ento
ento

Reputation: 5889

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.

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:

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.

Upvotes: 13

Views: 4994

Answers (4)

Mahmoud Adam
Mahmoud Adam

Reputation: 5852

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

enter image description here

Upvotes: 1

xyzzyrz
xyzzyrz

Reputation: 16456

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.

Upvotes: 4

user611775
user611775

Reputation: 1353

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.

Upvotes: 1

Noufal Ibrahim
Noufal Ibrahim

Reputation: 72855

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.

Upvotes: 4

Related Questions