View changes from “git log -p” in “difftool”

2019-06-18 05:12发布

I'm getting branch changes for review by using git log -p master..newbranch, but it just gives me diff file. How can I view this diff with external tool like meld? I want to see what was changed only in this specific branch (from branch start to tip).

1条回答
Deceive 欺骗
2楼-- · 2019-06-18 05:50

Okay, I've found it's done like this:

git difftool --dir-diff master...newbranch
查看更多
登录 后发表回答