【发布时间】:2011-07-19 22:18:28
【问题描述】:
在 git 社区的书中,它说
您可以做的另一件有趣的事情是使用“--graph”选项可视化提交图,如下所示:
$ git log --pretty=format:'%h : %s' --graph * 2d3acf9 : ignore errors from SIGCHLD on trap * 5e3ee11 : Merge branch 'master' of git://github.com/dustin/grit |\ | * 420eac9 : Added a method for getting the current branch. * | 30e367c : timeout code and tests * | 5a09431 : add timeout protection to grit * | e1193f8 : support for heads with slashes in them |/ * d6016bc : require time for xmlschema它将为提交历史行提供一个非常漂亮的 ASCII 表示。
我应该如何阅读这个图表? 420eac9 与其他人有何不同?
【问题讨论】:
标签: git git-branch git-log