VS2017 Git failed with a fatal error. error: open(".vs/xxxxxx/v15/Server/sqlite3/db.lock"): Permission denied fatal: Unable to process path .vs/xxxxxx/v15/Server/sqlite3/db.lock

 具体错误信息Git failed with a fatal error. error: open(".vs/xxxxxx/v15/Server/sqlite3/db.lock"): Permission denied fatal: Unable to process path .vs/xxxxxx/v15/Server/sqlite3/db.lock

The reason: because you want to ignore vs git upload files, Git failed due to a fatal error. Permission denied path can not handle.

The following solutions:

1, into the project directory, click the right click git bash]

 

 

2, enter the command: touch .gitignore create a file

 

 3, back to the table of contents to find the project file .gitignore

 

 

 4, use Notepad to open the file, at the beginning of the file input .vs save.

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/hzy168/p/11713100.html