Comment on GitHub SecretsComments−JGM56414ySo glad to see ignoring whitespace supported, I found myself needing this a lot.−msmith14yI learned recently that you can also do this on the command-line with "git diff -b"−parfe14yGNU diff supports -b (--ignore-space-change) and -B (--ignore-blank-lines) plus if you want to go all out -w (--ignore-all-space).Git diff supports the same.−AdamGibbins14yOn an related note - another nice diff flag I discovered recently is "git diff --word-diff" - which will as the name suggests, diff by word instead of line.
Comments
So glad to see ignoring whitespace supported, I found myself needing this a lot.
I learned recently that you can also do this on the command-line with "git diff -b"
GNU diff supports -b (--ignore-space-change) and -B (--ignore-blank-lines) plus if you want to go all out -w (--ignore-all-space).
Git diff supports the same.
On an related note - another nice diff flag I discovered recently is "git diff --word-diff" - which will as the name suggests, diff by word instead of line.