gitk, the built-in (?) graphical git diff client, had an option to ignore "changed" lines that differed only in whitespace, which is something I'd like to keep on all the time when I work with js, cs, and html/aspx files. I'm awfully particular when it comes to good, consistent whitespace, but I don't need to review that to see if I've borked something with a change.

Hopefully this does it, from Help.GitHub - Git cheat sheets:

To ignore whitespace (Ruby is whitespace insensitive)

git config --global apply.whitespace nowarn

Labels: ,