【问题标题】:Git history. Find commits, included in merge commit吉特历史。查找提交,包含在合并提交中
【发布时间】:2019-03-22 09:57:23
【问题描述】:

我有命令:git log --pretty=format:'* %s' --no-merges --first-parent beta $(git describe --match builds/beta/* --abbrev=0 HEAD)..HEAD

查找最后一个builds/beta/.. 标记和HEAD 之间的提交。但我想包含来自合并提交的提交。

例如,我有提交:“将分支 feature/request 合并到 beta。我想获得提交,也包含在该合并提交中。有可能吗?

【问题讨论】:

  • 感谢@OznOg。那应该被接受的答案

标签: git git-branch git-commit


【解决方案1】:

您应该尝试删除 --first-parent

【讨论】:

    猜你喜欢
    • 2019-04-28
    • 2013-09-20
    • 1970-01-01
    • 2012-12-06
    • 2020-08-02
    • 2022-07-21
    • 2018-10-15
    • 2014-06-30
    相关资源
    最近更新 更多