How to find last merge in git?

后端 未结 7 1498
野的像风
野的像风 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 04:47

    Why not simply diff your staging branch against master? That will show you the actual differences in each of your files, and not only those unmerged stuff. Also things you may have dropped when merging from staging to master in the past.

    try git diff master..staging or git diff master...staging to see the diff from their common ancestor to 'staging'.

提交回复
热议问题