About this question
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 use git diff ignore whitespace to ignore whitespace differences that come at the start (^) or end ($) of lines?