Despite the title, there is not in fact an example of how to hide whitespace in a git diff.
git diff --ignore-space-at-eol
git diff --ignore-all-space (or -w)
Perhaps the title should be changed to:
How to Hide Whitespace Changes in GitForge Diffs
Or similar. Technically speaking, this doesn’t have anything to do with the program ‘git.’
Yes, it really is about PRs and whitespace. I can’t edit the title any more, unfortunately.
There’s a suggest button between the submission date and the ‘flag’ button. I suggested “How to Hide Whitespace Changes in GitForge Diffs”. I think if multiple people suggest a title it gets applied automatically but I’m not sure. Give it a go though.
Thanks for the tip!