Search code examples
gitgit-bashgit-diffmeldgit-difftool

How can I stop git difftool?


I use Meld as tool for difftool and mergetool in Git Bash. When I run git difftool it opens a window of Meld and, every time I close the window with a difference, it opens a new window with the next difference. And so on, they could be hundreds...
Is there a way to stop Meld from the terminal (e.g. I didn't expect all these differences and now I want to make some changes in order to limit the number of them)?
The only way I found is to directly close the terminal, but I'd like a less brutal mode.


Solution

  • Are you tried git config --global --add difftool.prompt false? Or what @Biffen already commented: Ctrl+C in the terminal.