Reputation: 5889
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
Reputation: 5852
gitup is a great tool to visualize and manipulate git history as a graph
Upvotes: 1
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
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
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