Show non-merge differences for two commits in git

后端 未结 4 1350
野性不改
野性不改 2020-12-31 06:52

I have two commits, once of which is the ancestor of another. (They happen to be the start and end points of a branch. I don\'t think that matters, but I\'ll include it if i

4条回答
  •  清酒与你
    2020-12-31 07:41

    Your question is slightly ambiguous but I think you want this.

    git log --no-merges -p branch-start..branch-end
    

提交回复
热议问题