问题
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.
回答1:
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.
回答2:
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.
回答3:
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.
回答4:
gitup is a great tool to visualize and manipulate git history as a graph
来源:https://stackoverflow.com/questions/5158182/dag-oriented-git-browser