0

I've configured my git to use Meld as the diff tool:

git config --global diff.external /home/myname/diff.py

When I'm trying to save a diff to a file by: git diff > file.diff Meld is opened and the diff is not saved. How can I save the diff to a file without opening Meld?

Roy Tsabari
  • 2,000
  • 6
  • 26
  • 41

1 Answers1

1

Just add --no-ext-diff option:

git diff --no-ext-diff > file.diff
Stas S
  • 1,022
  • 1
  • 8
  • 18