2013-01-08 173 views
0

我知道我可以使用git log --graph功能来做到这一点,但是这提供了太多的信息。Git命令查看特定功能分支何时合并到整合分支

是否有一个git命令告诉您何时以及由谁将特定分支名称合并到集成分支中?

或者也许一种方法来修改git log --graph只显示这两个分支 - 我指定的集成分支和功能分支。

回答

0

或者也许一种方式来修改git log --graph只显示这两个分支 - 我指定的集成分支和功能分支。

这听起来像--branches[=<pattern>]选项会得到你想要的。从帮助页面:

Pretend as if all the refs in refs/heads are listed on the command line as 
<commit>. If <pattern> is given, limit branches to ones matching given shell 
glob. If pattern lacks ?, *, or [, /* at the end is implied.