VS 2017 Git Local Commit DB.lock error on every commit

We are getting this error on every local commit:

Git failed with a fatal error.error:
open(“.vs/XXXXXX.Dev.Library/v15/Server/sqlite3/db.lock”): Permission
deniedfatal: Unable to process path
.vs/XXXXXX.Dev.Library/v15/Server/sqlite3/db.lock

This is a brand new installation of VS 2017 using the local git repository before it can sync to Azure DevOps GIT.

We can manually delete the lock file and then sync fine, but it seriously slows down the development process (having to close, delete, open, commit every time).

Does anyone know a better long-term fix for this issue?

17 Answers
17

Leave a Comment