Think before you speak, read before you think.

git diff 高亮显示改变的单词

by

in

平时 git diff 都是以行级别的

如果以单词级别的可以这样

git diff --color-words
git diff --word-diff

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *