Git issue with Visual Studio 2015

Solution 1:

I had the exact same issue as you and spent hours trying to get it to work, including re-cloning.

I solved it on my end by adding the *.VC.opendb and *.VC.db files to the .gitignore file of my project.

As soon as I returned to Visual Studio all my pending changes were showing. As far as I can tell it's all working normally again.

Solution 2:

I have same issue with db.lock file ...

Solution with images are as follow:

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

Git will ignore these files for next commit.