Reputation: 1543
I have executed git diff.UserlogList .js
, but git is showing that I've deleted line and added a new one, the line that I have added is the same, how I can see invisible chars? Or there is another logic in git that I don't understand?
Upvotes: 0
Views: 578
Reputation: 4633
Try the --color-words
option to git diff
. More info at man git-diff.
There are also config options to control the colouring of the diff output, useful for spotting small differences such as whitespace changes. See man git-config, look for color.diff.<slot>
.
Upvotes: 1