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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -