6

git blame,在文件上,为每一行给出更新该行的最后一次提交。(如 IDE 上的注释操作)

git blame -w做同样的事情,但前提是提交不仅仅是缩进或空格。

我的问题是,如何在 intelliji 上使用注释来忽略空格?

如果我将 SVN 与 Intelliji 一起使用,则有一个选项,但我无法在 git 上找到它。

4

2 回答 2

10

IntelliJgit blame -w默认使用,如以下问题所述:IntelliJ annotate vs git blame

但是没有选项可以改变这种行为,因为它被硬编码到 IDEA Git 插件中。

于 2017-05-19T06:06:32.033 回答
2

配置 git 行为的选项出现在2018.3 版本中。

于 2018-12-29T20:38:07.280 回答