Viewing all `git diffs` with vimdiff

后端 未结 4 1226
广开言路
广开言路 2020-12-02 03:19

I setup git diff to wrap into vimdiff, using \"Git Diff with Vimdiff\" as a guide, and it\'s working as expected unless there are many files with changes.

4条回答
  •  鱼传尺愫
    2020-12-02 04:09

    For people who want to use another diff tool not listed in git, say with nvim. here is what I ended up using:

    git config --global alias.d difftool -x 
    

    In my case, I set to nvim -d and invoke the diff command with

    git d 
    

提交回复
热议问题