Git-致命:无法创建'/path/my_project/.git/index.lock':文件存在
当我尝试将项目树移至git repo时,我仍然收到此错误消息。 我检查了此项目的目录权限,这些权限设置在777上。在终端中,my_project我设置了以下权限: git初始化 然后,如果我尝试 git添加 要么 git commit -m“首次上传” 所以我会得到错误 fatal: Unable to create '/path/my_proj/.git/index.lock': File exists. If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually …