【问题标题】:How to find out which commits are included in one merge commit? [duplicate]如何找出一个合并提交中包含哪些提交? [复制]
【发布时间】:2020-04-13 00:54:17
【问题描述】:

例如,我有一个合并提交

commit MERGE-COMMIT-ID
Merge: commit1 commit2

我想知道这次合并中包含哪些提交。

【问题讨论】:

标签: git


【解决方案1】:

你可以使用git log <hash>例如

git log f5c6e83496a373c4ebb3adf89e79c8c6ce057adb commit f5c6e83496a373c4ebb3adf89e79c8c6ce057adb (origin/development, origin/HEAD, development) Merge: b445d90 0ac84a2 Author: author Date:   Thu Oct 10 22:08:36 2019 -0400     Merge pull request #94 from author/feature/13-jobs-crud        Fixed stuff commit 0ac84a239b438cea909422fcc88b0cb6a4ccdb9d Author: author Date:   Thu Oct 10 22:06:26 2019 -0400     Fixed stuff commit b445d90579690199680775b2475e5e4a795af8cdMerge: b0736d1 0eb371a Author: author Date:   Thu Oct 10 21:57:48 2019 -0400     Merge pull request #93 from author/feature/13-jobs-crud    :

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-04-28
    • 2021-03-26
    • 2019-03-22
    • 1970-01-01
    • 2023-02-23
    • 2015-08-06
    • 2012-09-13
    相关资源
    最近更新 更多