當我嘗試重命名我的Xcode Project
中的任何圖像名稱時,它會產生以下錯誤。致命:無法創建'/.git/index.lock':文件存在
fatal: Unable to create '/.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 to continue.
不知道什麼錯誤。 在此先感謝。
這可能HALP的ühttp://stackoverflow.com/questions/9282632/git-index-lock-file-exists-當我嘗試提交但不能刪除文件 –
我嘗試了一切,但結果相同。 –
檢查以查看您在哪裏發佈命令。它應該在你發出「git init」的根目錄發佈 – shaytac