How do I configure Git to use a different tool for diffing with the .gitconfig file?
I have this in my .gitconfig:
[diff]
tool = git-chdiff #also tried /bin/git-chdiff
It does not work; it just opens the regular command line diff. When I do
export GIT_EXTERNAL_DIFF=git-chdiff
then git diff
will open up the external diffing tool (so I know the external diff tool script works fine). Do I have something wrong with my .gitconfig configuration for the diff tool?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…