Git changes not showing in VS2013 Update 2

后端 未结 8 1090
旧巷少年郎
旧巷少年郎 2021-02-19 08:02

I am using Git in VS2013 and my changed files are not showing up in the Changes window of VS.

When I have changed a file but before I have saved it to disk it does show

8条回答
  •  半阙折子戏
    2021-02-19 08:47

    I had this problem too. It happened randomly, and sooner or later my git status was completely erased from Microsoft Git Provider add-in in Visual Studio, although it was correct on Git bash.

    Turns out that, in my case, it would happen as soon as I open a connection to a LocalDb database from SQL Management Studio, and kept the connection open. So, I suspect this might happens whenever a process locks out a file which is monitored by Microsoft Git Provider.

    Hope it helps. In my case, it's fixed!

提交回复
热议问题