【发布时间】:2016-03-10 01:48:25
【问题描述】:
在 Git 中有什么方法可以列出所有分支合并提交吗?
我试过git reflog,它确实显示了提交和
<commit number> HEAD@{2}: commit (merge): merge with feature/unification
是否使用(合并)字符串足以检测分支合并?
【问题讨论】:
标签: git git-merge git-log git-reflog
在 Git 中有什么方法可以列出所有分支合并提交吗?
我试过git reflog,它确实显示了提交和
<commit number> HEAD@{2}: commit (merge): merge with feature/unification
是否使用(合并)字符串足以检测分支合并?
【问题讨论】:
标签: git git-merge git-log git-reflog
我想你正在寻找
git log --merges
--merges仅打印合并提交。这与
--min-parents=2.
【讨论】: