What is the best difftool for Git repos like OS X's Opendiff?

closed as off-topic by Braiam, random Jan 21 '15 at 3:41

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you're trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question." – Braiam, random
If this question can be reworded to fit the rules in the help center, please edit the question.


If you're after a graphical diff command, you should give Meld a go. It's a visual diff and merge tool. I think it is present by default on Ubuntu systems

  • One downside of Meld - seems like it can only diff existing files, you can't simply copy/paste content into two editor windows to diff them spontaneously – matt b Mar 29 '11 at 17:59
  • 2
    Yes you can - File→New..., leave file paths empty and press OK, then you can paste. – Beni Cherniavsky-Paskin Jun 28 '12 at 9:03

Diffuse works well.

alt text


I use KDiff3. It is one of the best tools available for comparison or merging two or three text input files or directories.



If your looking for command line diff would work wouldn't it? For graphical and not free I like Beyond Compare

  • Just tried Meld. It wasn't installed by default but it is available from the repo. sudo apt-get install meld – Gren Aug 13 '09 at 18:39

Besides the obvious 'git diff' gnu emacs has a mode for diff (obviously :-), called ediff. And there is a relatively standard graphical interface for git, called gitk. Below is a screenshot of ediff.

link to the screenshot of ediff mode


I'm a vim user and I like the vim diff feature.
It's a vertically split screen with one vim at each side.
Git knows how to invoke it after you configure it thus:

git config --global merge.tool gvimdiff  

On each side of the diff I have all the power of vim, configured as I like it.
Although very powerful and highly usable, vim is known for catering from quite a different paradigm as compared to the usual GUI editors like Notepad and all the many excellent other editors based in the same paradigm.
Before using this feature you should get acquainted with the vim UI. It easy, it is logical, but it's different. All the caveats about people reacting to change apply here.
Oops I might sound like a vim hooligan! Not so: I like diversity, even at the text editor level. So does Git.

  • 1
    I can use Vim too. However, I like the visual appearance and better usability of some GUI editors. They are so much faster to use. – Léo Léopold Hertz 준영 Dec 21 '14 at 23:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.