Skip to content

Instantly share code, notes, and snippets.

@carlos-jenkins
Created July 19, 2019 20:44
Show Gist options
  • Select an option

  • Save carlos-jenkins/25eda1f5ba2d4c127cee9a08433ed981 to your computer and use it in GitHub Desktop.

Select an option

Save carlos-jenkins/25eda1f5ba2d4c127cee9a08433ed981 to your computer and use it in GitHub Desktop.

Revisions

  1. carlos-jenkins created this gist Jul 19, 2019.
    8 changes: 8 additions & 0 deletions difftool.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    sudo apt install meld
    git config --global alias.difftree 'difftool --dir-diff'
    git config --global diff.tool meld
    git config --global difftool.prompt false

    # Now use it:
    # git difftree master..HEAD
    # git difftree e49286eb1acbae69058856c744676c63d1154ba6..57adcd018d6e11c0982187cddfce6ee2bb641c6d