Pretty git branch graphs

前端 未结 30 2038
情话喂你
情话喂你 2020-11-22 01:34

I\'ve seen some books and articles have some really pretty looking graphs of git branches and commits. How can I make high-quality printable images of git history?

30条回答
  •  梦毁少年i
    2020-11-22 01:52

    Depends on what they looked like. I use gitx which makes pictures like this one:

    simple plot

    You can compare git log --graph vs. gitk on a 24-way octopus merge (originally from http://clojure-log.n01se.net/date/2008-12-24.html):

    24-way git octopus merge. Original URL was <code>http://lwn.net/images/ns/kernel/gitk-octopus.png</code>

提交回复
热议问题