3
0
I added this in ~/.gitconfig
:
[diff]
external = mvimdiff
[difftool]
prompt = false
and made a 755 /bin/mvimdiff
that:
#!/bin/sh
mvim -d "$2" "$5"
in order to invoke MacVim as my git diff tool. But when I run command git diff
in a git folder, it still output the result from normal diff
to shell. No MacVim at all. I am sure that no .git/config
overwrite the .gitconfig
, and I have tried to restart my computer to refresh. Why doesn't the config work?
Thank you.
still doesn't work for me :(➜
✗ git config --global diff.tool meld ✗ git config --global difftool.meld.cmd 'meld "$LOCAL" "$REMOTE"' ✗ git difftool env-context.xml diff --cc env-context.xml index 4f430b5,b7ab2ef..0000000.... – ihadanny – 2013-05-13T08:42:58.900