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>
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>
相关文章推荐
- Use vimdiff as git mergetool
- 技术人生:Knowing when or where it’s appropriate to use a technique or tool is just as important as knowing how to use it.
- How to Use Git
- [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as r
- How to let "test2.c" use the variable in "test1.c"
- How to use VIM?
- [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
- 学习笔记1 2016/1/26 how to use git(1)
- How to use "chmod" under linux
- GPROF Tutorial – How to use Linux GNU GCC Profiling Tool
- How to configure and use Git with visual studio 2012 and TFS
- How To Use Git Branches
- How To Use Git Source Control with Xcode in iOS 7
- How can I force Python's file.write() to use the same newline format in Windows as in Linux (“\r\n”
- mysql多实例配置下,用脚本启动mysql时,出现Please read "Security" section of the manual to find out how to run mysqld as root!
- How to use BTM as the transaction manager in Tomcat 6.x
- How can I set the background of UITableView (the tableview style is "Grouped") to use an image?
- How to use bluetooth tools --- hciattach hciconfig hcitool sdptool rfcomm
- How to Use a Function or a Procedure as a Parameter in another Function
- How to use "for/" batch command in Dos extention