How to remove whitespace-only changes from a PR
-
Create a new local branch that will contain your changes without the whitespace
git checkout -b tmp-branch
-
Merge the changes that contain whitespace into your current branch WITHOUT committing the changes
git merge --no-commit