/.git/index.lock』 File exists
08-26
/.git/index.lock』 File exists
Git – fatal: Unable to create 『/.git/index.lock』: File exists.
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 to continue.
解決參考:
1、https://stackoverflow.com/questions/9282632/git-index-lock-file-exists-when-i-try-to-commit-but-cannot-delete-the-file
2、刪除 index.lock,在.git同級目錄,執行rm -f .git/index.lock (或者rm -f git/index.lock) 刪除後可提交。成功推薦閱讀:
※Android 64 bit的一些兼容性分析
※余艾冰:計算是理解顆粒體系的強有力工具 | NSR專欄
※一文看懂AI晶元競爭五大維度
※複雜度分析:積性函數的狄利克雷卷積
※樂高 EV3 高級編程 - 第一課
TAG:SVNSubversion | 計算機科學 | Git |