你能用“git log”获得单词差异吗?
我知道 git diff --word-diff=color 会显示工作树和 HEAD 之间的单词差异,但是有没有办法使用 git log 获得相同类型的输出代码>?
I know that git diff --word-diff=color
shows a word diff between the working tree and HEAD, but is there a way to get the same kind of output with git log
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
--color-words
怎么样?此外,您必须以某种方式激活差异。向我展示了一种颜色差异。
What about
--color-words
? Additionally you somehow have to activate the diff.shows me kind of a colored diff.
好的,我想我可以使用它
OK I think I got it working with