1. 1
  1.  

  2. 3

    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)
    
    1. 2

      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.’

      1. 1

        Yes, it really is about PRs and whitespace. I can’t edit the title any more, unfortunately.

        1. 1

          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.

          1. 2

            Thanks for the tip!