git-pretty
对应的graphviz代码:
digraph {
rankdir=LR;
label = "git prretty\n原版地址:http://justinhileman.info/article/git-pretty/git-pretty.pdf";
start [label = "我的git又乱了" , shape = Mrecord];
let_it_stay_ugly_then [label = "就这么放着吧", shape = Mrecord,style=bold];
//start of questions
node [shape = diamond,fixedsize=true,width=2.5,height=1.5];
what_mess [label = "git又咋的了?"];
is_already_on_github [label = "已经推送到远程\n仓库(Github)了吗?"];
is_anyone_down_stream [label = "有人从远程仓\n库更新过吗?"];
enouth_to_form_a_lynch_mob [label = "自己的名声和漂亮git\n提交记录哪个重要?"]
do_you_hate_them [label = "你想跟其它程序员\n老死不相往来了吗?"]
do_an_interactive_rebase [label = "我们要执行rebase命令了"]
has_anyone_else_seen_it [label = "已经在远程仓库上了吗?"]
how_long_ago[label = "什么时候的commit?"]
take_a_mulligan[label = "要改变已有的commit吗?"]
what_would_make_this_better[label = "你想改啥?"]
keep_it[label = "没提交的文件还留着吗?"]
… Read the rest