GitHub web ui hack to ignore whitespace on diffs
Want to ignore whitespace in GitHub diffs? Just add the ?w=0
querystring to the to diff URL.
Here's a simple "Hello, World!" sample where I added leading whitespace and deleted trailing whitespace in a commit:
Source: David Winterbottom
Written by Steve Jansen
Related protips
2 Responses

Neat! Thanks for sharing
over 1 year ago
·

Thanks for tip!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Github
Authors

projectcleverweb
289.2K

jjperezaguinaga
90.23K
Related Tags
#github
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#