Show commits involved in a prior git merge

前端 未结 3 1149
失恋的感觉
失恋的感觉 2020-12-02 15:20

Say I create a hotfix branch off of a develop branch, make two commits, merge this back to the develop branch, and destroy the h

3条回答
  •  攒了一身酷
    2020-12-02 16:05

    If you have a merge commit (say a2345) and say git log -1 a2345, it will tell you the names of the parents (i.e. the commits which got merged in this commit). Is that what you're looking for?

提交回复
热议问题