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\"): P
For me these two files I have deleted by mistake, after undo these two files and get added in my changes, I was able to commit my changes to git.