Pregunta

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?

¿Fue útil?

Solución

Just add --no-ext-diff option:

git diff --no-ext-diff > file.diff
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top