您的位置:首页 > 其它

Howto use vimdiff as "git diff"'s diff tool

2010-12-10 12:51 405 查看
First, make sure your git version is higher than 1.6.3

Then:

git config --global diff.tool vimdiffgit config --global difftool.vimdiff.cmd "vimdiff" git config --global difftool.prompt false

That's OK. Next time, use "git difftool ..." replace "git diff ..."

To view all your global settings: git config --global --listTo remove one setting from global: git config --global --unset <setting name>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: