Visual studio 在 git 合并上添加白色 space

Visual studio adding white space on git merge

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

Whitespace Shown in Stash

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

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

Here's how