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!

Get better at programming by learning with me! Join my 100+ subscribers receiving weekly ideas, creations, and curated resources from across the world of programming.