git-difftool:使用meld完整文件树比较? [英] git-difftool: full file tree compare using meld?

查看:229
本文介绍了git-difftool:使用meld完整文件树比较?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



git-difftool做了一些非常相似的事情,有一种简单的方法可以将旧的git commit的文件树与工作文件树进行比较,但我不希望它实际上做任何差异;总的来说,它所调用的工具可以为此提供更好的界面。

解决方案

我已经在最近的meld版本上测试过它,现在已经内置了。您可以使用meld< ;目录路径>所以融合。适用于当前目录。你可以签出一个版本的git co [版本],然后git reset [version] ^,然后运行meld。比较任何版本和它以前的版本。


Is there an easy way to compare the file tree of an old git commit with the working file tree, in meld?

git-difftool does something very similar, but I don't want it to actually do any diffing; the whole point is that the tool it is calling can provide a better interface for that.

解决方案

I've tested this on a recent version of meld and it is now built in. You can use it with meld <directory path> so "meld ." works for the current directory. You can checkout a version git co [version] then git reset [version]^ and then run "meld ." to compare any version with it's previous version.

这篇关于git-difftool:使用meld完整文件树比较?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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