-
Install XQuartz
-
Install meld with brew
brew install meld
-
Copy PYTHONPATH
brew info pygtk
-
Paste result of (3) in ~/.bashrc or ~/.zshrc
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
-
Set meld as your default git mergetool
git config --global merge.tool meld
-
Go find your conflicts!
Source: Homebrew/legacy-homebrew#20644
UPDATE (03/14/2015):
For those who have problems in newer versions Homebrew/legacy-homebrew#36824
If you try:
$ brew install meld
Error: No available formula for meld
Searching formulae...
Searching taps...`
Instead try:
$ brew install homebrew/x11/meld
Alternative method (by @yousseb)
If you want to install Meld with no hassle go to: https://yousseb.github.io/meld/
- An actual DMG file that you can install right away.
- No X required.
- Key mapping is Mac(ish).
- Used Clearlooks + Tango icon theme in the app so that it looks nice.