How to find last merge in git?

后端 未结 7 1506
野的像风
野的像风 2020-12-29 04:31

For a web site, I have master and staging, I have worked on staging for about 10 days. How do I tell for sure what has changed since my last merge, or when that merge was? M

7条回答
  •  没有蜡笔的小新
    2020-12-29 05:00

    Take the latest merge and give branch name which merged to current branch

    MC=git log --merges -n 1 | grep request; BB=${MC##*:}; B=${BB%% }; SUBBRANCH=${B##/} echo $MC

提交回复
热议问题