1

I'm using git to work on a text document concurrently, and I'm trying to find a nice visual way to see the changes that were done by others. I can do this by typing git diff but the result is on the Terminal. I was reading this post where it seems it's possible to configure git to use opendiff as the default viewer for diff. Yet, when I type the commands

$ git config --global merge.tool opendiff
$ git config --global diff.tool opendiff
$ git config --global difftool.prompt false

and I do git diff I still get the output on the Terminal. What am I doing wrong?

Community
  • 1
  • 1
aaragon
  • 2,314
  • 4
  • 26
  • 60

1 Answers1

2

You need to use the commands git difftool (instead of git diff) and git mergetool (instead of git merge) for git to use opendiff.

TriskalJM
  • 2,393
  • 1
  • 19
  • 20