How do you find who merged a git commit into a branch?

前端 未结 3 1834
生来不讨喜
生来不讨喜 2021-02-20 16:13

There is a file in our git repository in work, I want to find out who merged this file into a branch.

I have the commit hash that identifies the commit (lets say 5

3条回答
  •  闹比i
    闹比i (楼主)
    2021-02-20 16:46

    git log -1 --merges 
    

    Will show the most recent merge commit log since the commit (including itself).

提交回复
热议问题