Mac 版 Github 差异选项
有没有办法配置 github for mac 与 -w
进行比较选项忽略空格?
我们正在将项目中的所有制表符替换为空格,但是当在 Github:mac 中查看这些提交的差异时,整个文件被标记为已更改,这使得很难看到实际的更改。
Is there a way to configure github for mac to do a diff with the -w
option to ignore whitespace?
We are in the process of replacing all tabs with spaces in our project but when looking at the diffs for these commits in Github:mac the whole file is marked as changed which makes it hard to see the actual changes.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为什么“实际”更改与选项卡更改混合在一起?把你当前的工作收起来,进行一次大扫除以清理空白,推动它,然后返回到你定期安排的节目。当然,在修复空白之前,您会遇到与您正在处理的任何内容发生一些合并冲突,但这是不可避免的。
Why do you have "actual" changes mingled in with the tab changes? Stash your current work, do one giant sweep to clean up the whitespace, push that, then go back to your regularly scheduled programming. Sure, you'll hit a few merge conflicts with anything you were working on before the whitespace fix, but that's unavoidable.