Viewing all `git diffs` with vimdiff

后端 未结 4 1227
广开言路
广开言路 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:14

    Git accepts kdiff3, tkdiff, meld, xxdiff, emerge, vimdiff, gvimdiff, ecmerge,
    and opendiff as valid diff tools. You can also set up a custom tool. 
    
    git config --global diff.tool vimdiff
    git config --global diff.tool kdiff3
    git config --global diff.tool meld
    git config --global diff.tool xxdiff
    git config --global diff.tool emerge
    git config --global diff.tool gvimdiff
    git config --global diff.tool ecmerge
    

提交回复
热议问题