查看来自“git log -p”的更改in“difftool” [英] View changes from "git log -p" in "difftool"

查看:170
本文介绍了查看来自“git log -p”的更改in“difftool”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过使用 git log -p master..newbranch 获取了分支变更,但它只是给了我diff文件。我如何使用外部工具如meld来查看这个差异?我希望看到只在这个特定的分支中发生了什么变化(从分支开始到小费)。

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).

推荐答案

好的,我已经发现它是这样做的:

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

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

这篇关于查看来自“git log -p”的更改in“difftool”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆