在github上没有空白变化的提交 [英] Commit without whitespace changes on github
本文介绍了在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.
这篇关于在github上没有空白变化的提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文