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

∥☆過路亽.° 提交于 2019-12-08 19:18:14

问题


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:


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

git difftool --dir-diff master...newbranch


来源:https://stackoverflow.com/questions/17048558/view-changes-from-git-log-p-in-difftool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!