Pretty git branch graphs

前端 未结 30 1986
情话喂你
情话喂你 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条回答
  •  不知归路
    2020-11-22 02:18

    For textual output you can try:

    git log --graph --abbrev-commit --decorate --date=relative --all
    

    or:

    git log --graph --oneline --decorate --all
    

    or: here's a graphviz alias for drawing the DAG graph.

    I personally use gitx, gitk --all and gitnub.

提交回复
热议问题