Commit without whitespace changes on github

后端 未结 4 935
长发绾君心
长发绾君心 2021-01-01 12:06

Is there a way to display a commit on github.com without showing whitespace changes?

Is there a way to display that from console? i.e. clone and then look at commit

4条回答
  •  有刺的猬
    2021-01-01 13:03

    Append ?w=1 to the URL on any github.com page that is showing a diff and it will ignore whitespace. See this blog post.

提交回复
热议问题