第一种1.git add --ignore-errors .

 特别注意 git add --ignore-errors .

errors后面有一个空格再加一个点' .'

第二种:

1.touch .gitignore;

2.添加要省略的文件

.vs/

error: open(".vs/ConsoleApp349/v16/Server/sqlite3/db.lock"): Permission denied error: unable to index file

 

相关文章:

  • 2021-05-13
  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
  • 2021-07-01
  • 2022-03-10
  • 2021-06-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2021-10-07
  • 2021-06-29
相关资源
相似解决方案