Julius Plenz – Blog

This makes a git commit abort if there are any whitespace-related
errors. However, if you have code that already has whitespace issues,
you can simply pass an option to git rebase to automatically correct
them: