Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道这git diff --word-diff=color显示了工作树和 HEAD 之间的单词差异,但是有没有办法获得相同类型的输出git log?
git diff --word-diff=color
git log
怎么样--color-words?此外,您必须以某种方式激活差异。
--color-words
git log --color-words -p
向我展示了一种彩色差异。
好的,我想我可以使用它
git log -m -p --word-diff=plain