Jake Worth

Jake Worth

How to Ignore Whitespace in a GitHub Pull Request

Published: September 05, 2022 • Updated: March 29, 2023 2 min read

  • github

Reviewing a GitHub PR on that contains a lot of whitespace changes? Extra whitespace can make it challenging to evaluate the substance of a PR. It’s high on my list of things that should generally not be refactored.

Ignore whitespace by adding the query parameter ?w=1 to your diff URL.

What are your thoughts on this? Let me know!

Join 100+ engineers who subscribe for advice, commentary, and technical deep-dives into the world of software.