Git命令查看特定功能分支何时合并到集成分支

时间:2013-01-08 01:01:34

标签: git

我知道我可以使用git log --graph功能来执行此操作,但这提供了太多信息。

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

或许可以修改git log --graph只显示这两个分支 - 集成分支和我指定的功能分支。

1 个答案:

答案 0 :(得分: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.
相关问题