对于小型存储库,我对我的 git l
命令非常满意:
[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)'
不幸的是,由于有大型存储库和数百个分支,我的树变得太宽太高,无法获得总体概览。我在 gitk 中没有找到好的解决方案,而且我不知道其他实用程序。
我正在寻找一个简单的工具,可以使用例如 cytoscape 生成 HTML 动态修订树(可以折叠)。或来自 d3.js 的树状图。
有什么好的KISS工具吗?
最佳答案
您可能想看看git-big-picture 。
目前,它的图表仅包含提交 ID 及其链接,但应该可以执行额外的 git 查询来补充提交消息。 The (Python-) source非常具有可读性。
关于git - git 修订树的图形动态 View ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29938927/