Jake Worth

Jake Worth

How to Ignore Whitespace in a GitHub Pull Request

Published: September 05, 2022 • Updated: January 04, 2023 2 min read

  • git

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.


Get better at programming by learning with me. Subscribe to my newsletter for weekly ideas, creations, and curated resources from across the world of programming. Join me today!