Is there a way to display a commit on github.com without showing whitespace changes?
Is there a way to display that from console? i.e. clone and then look at commit
There is a trio of options that you can use at the command line (with any of git's diff commands) for this:
--ignore-space-at-eol
Ignore changes in whitespace at EOL.-b, --ignore-space-change
Ignore changes in amount of whitespace. This ignores whitespace at line end, and considers all other sequences of one or more whitespace characters to be equivalent.-w, --ignore-all-space
Ignore whitespace when comparing lines. This ignores differences even if one line has whitespace where the other line has none.I don't believe github has implemented anything using these options.