Thursday, November 1, 2018

Ignore whitespace when comparing changes from a github commit

Quite often we need to find what is changed in a git commit. The github shows the difference when clicking a commit in commit history. However, any whitespace change in the commit is also shown as difference.

In order to ignore the whitespace change, you can append w=1 in the url and then refresh the page.

No comments:

Post a Comment