I would like to see the changes I am pushing with vimdiff
. I can see the changes before commit with $ git diff
configuring vimdiff
to ~/.gitconfig
.
After commits, I can see the commits with --patch
switch on whatchanged
command,
$ git whatchanged origin/master.. --patch
But, with this command the changes are displayed in default vim, and I want to see the changes in vimdiff
with two vertical columns.
Reference
Stackoverflow question View last N to M Git commits in vimdiff seems to address my question(at least the title), but I got no clue with the answers there(maybe too nerdish).
Google search didn't show me proper results.