How can I make git completely ignore any whitespace? I don't care even if any whitespace exists. I just want git not to track any whitespace.
i.e I want git to never trouble me about whitespaces when I commit, create or apply patch, merge or anything.
Also I don't want git to remove any whitespace automatically!
There's no way to make git ignore whitespace changes, that I know, but you can disable warnings.
This should (globally) disable the warnings that are enabled by default:
What changes you do make will still be part of your commits.