Viewing all `git diffs` with vimdiff

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

    git config --global diff.tool vimdiff
    git config --global difftool.prompt false
    git config --global alias.d difftool
    

    Typing git d yields the expected behavior, typing :wq in vim cycles to the next file in the changeset.

提交回复
热议问题