How to check real git diff before merging from remote branch? -
i want check real diff between remote branch , local branch. how can that?
issuing below command partially works, shows diff of new changes of local branch too.
git diff remote/branch
from documentation:
git diff [--options] <commit>...<commit> [--] [<path>…]
this form view changes on branch containing , second
<commit>
, starting @ common ancestor of both<commit>
. "git diff a...b" equivalent "git diff $(git-merge-base b) b". can omit 1 of<commit>
, has same effect using head instead.
did try this?
Comments
Post a Comment