How to do Git Log see only merges to master branch?

后端 未结 2 1801
醉话见心
醉话见心 2020-12-14 00:32

In my work process I need to provide a list of files to my server admin. The list comes from the merge of my working branch (Branch A) into Master branch.

So I merge

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-14 00:51

    I find it useful to narrow the path to first parent in order to ignore "update branch" merges.

    Looks like this for me:

    git log r2.8.7-2018-09-04..HEAD --merges --first-parent

提交回复
热议问题