【问题标题】:Visual studio adding white space on git mergeVisual Studio 在 git merge 上添加空格
【发布时间】:2016-07-21 10:50:31
【问题描述】:

我们如何防止在 Visual Studio 2015 在合并分支时接触文件时添加前导空格。

Whitespace Shown in Stash

上面的示例是拉取请求期间 Stash 中显示的内容。

【问题讨论】:

标签: git visual-studio whitespace


【解决方案1】:

我没有 VS2015,但它看起来像 Unicode BOM。搜索选项以将其添加到 VS 编辑器配置中。

Here's how

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-02-03
    • 1970-01-01
    • 2017-12-01
    • 2017-01-25
    • 2015-11-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多