Git issue with Visual Studio 2015

前端 未结 5 1622
隐瞒了意图╮
隐瞒了意图╮ 2021-01-31 14:11

I have a Visual Studio solution inside a git repository created with TortoiseGit version 1.8.16.0 (git version 2.6.2.windows.1)

I just updated Visual Studio from 2015 to

5条回答
  •  离开以前
    2021-01-31 15:01

    To make VS 2015 not show the unmodified files, you need to set core.autocrlf=false in your Git configuration by console. It sames newer versions of git core includes one new line on file with crlf (VS doesn't show the new line).

    To set it through all your repositories write

    git config core.autocrlf false
    

    and it will be deactivated.

提交回复
热议问题