You can try the following “trick”:
git add -A
git diff --cached -w | git apply --cached -R
This basically adds everything to the index, then unstages all changes which affect more than whitespace.
You can try the following “trick”:
git add -A
git diff --cached -w | git apply --cached -R
This basically adds everything to the index, then unstages all changes which affect more than whitespace.