I love to use git diff -w to ignore whitespace differences. But, I just noticed that it ignores even whitespace differences in the middle of lines. How could I only ignore whitespace differences that come at the start (^) or end ($) of lines?

2 Answers
2

Leave a Reply

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