Visual Studio TFS Git not seeing any changes

后端 未结 11 836
后悔当初
后悔当初 2020-12-23 13:13

I\'m not getting something about Visual Studio\'s Git for TFS.

I cloned a colleague\'s solution in Git on TFS and started adding code. I then realised that I needed

11条回答
  •  甜味超标
    2020-12-23 13:45

    Helpful article! Using Git Bash (git add -u) helped me get closer to the cause of the problem. After committing changes previously not shown in Visual Studio, only half-way commit was done because of using a SQL Server Database Project; Apparently, Windows 10 started to add jfm-files in the same folder keeping it open all the time and preventing it from beeing accessed by VS. Solution was to add it to the .gitignore before committing.

    See this thread for further information:

    Visual Studio 2015 Database Project directory contains a file with extension jfm

提交回复
热议问题