Ignore whitespace when looking at a diff
Some pull requests look terribly messy, especially if most of the changes are due to changing the indentation level.
To look at these diffs in a nicer way, you can use git diff -w
, which ignores whitespace.
This allows you to see the more interesting changes much easier.
This also works on GitHub and GitLab.
Just add ?w=1
at the end of the URL.