How to view differences of branches with meld?

By | December 17, 2014

git-meld is a git command that allows you to compare and edit treeishs between revisions using meld or any other diff tool that supports directory comparison. git meld is a frontend to git diff and accepts the same options and arguments.

It is essentially an extended git-difftool for tools that support comparing directories rather than having git call the external tool for every file that has changed.


  1. Install git-meld to GIT_MELD_PATH. e.g., git clone

  2. Rename to git-meld and change it excutable


  4. Add a git alias to gitconfig with:

git config --global alias.meld '!GIT_MELD_PATH/'

Alternatively add:

meld = !/path/to/git-meld/

to ~/.gitconfig


Show all the changes between two commits

git meld commit_hash1...commit_hash2

Leave a Reply

Your email address will not be published. Required fields are marked *