在github上没有空白变化的提交

问题描述:

有没有办法在github.com上显示提交而不显示空白的变化?

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 (tree) locally ignoring all white space changes?

我广泛使用Trac;我正在寻找类似于忽略空白区更改(可在变更集视图中找到)的内容。

I use Trac extensively; I'm looking for something similar to Ignore White space changes (which can be found on the changeset view).

在显示diff的任何github.com页面的URL上附加?w = 1 ,它将忽略空格。查看这篇博文

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.