IntelliJ和Git:如何看到提交和两个较旧的提交之间的差异? [英] IntelliJ and Git: How to see diffs between a commit and two older commit?

查看:790
本文介绍了IntelliJ和Git:如何看到提交和两个较旧的提交之间的差异?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您可能知道这个窗口,您可以在其中看到一个提交到一个提交之间的差异。



你知道我怎么能看到完全相同的比较,但是在提交和之前的提交之间不一定是当前比较。



我知道我可以做到每个文件,但是我想为整个项目做到这一点。

解决方案

您可以在git日志窗口中选择任意数量的提交(使用shift / ctrl和单击或光标键),右侧窗格将显示累计的差异。


You probably know this window where you can see the diffs between a commit to ONE commit older.

Do you know how can I see exactly the same comparison, but between a commit and a previous commit which is not necessarily ONE before the current one.

I know that I can do it per one file, but I want to do it for the whole project.

解决方案

You can select any number of commits in the git log window (using shift/ctrl and click or cursor keys) and the right-hand pane will show the cumulated differences.

这篇关于IntelliJ和Git:如何看到提交和两个较旧的提交之间的差异?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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