原文:git提交代碼報:fatal: Unable to create 'E:/testGit/test/.git/index.lock': File exists.

git提交代碼報錯,提示:fatal: Unable to create E: testGit test .git index.lock : File exists. 具體截圖如下: 在.git目錄下刪除index.lock文件,即可。 ...

2019-10-31 16:35 0 423 推薦指數:

查看詳情

fatal: Unable to create 'D:/learngit/.git/index.lock': File exists.的解決方法

今天在學習git的時候,發現在執行git commit -m "add distributed"的時候,報了個錯。 這個應該是因為 git操作的時候修改了一些文件導致的操作沖突被鎖住了 所以我的解決方法是 rm -f /.git/index.lock' 刪掉該文件 再運行就好了 ...

Tue Apr 16 16:19:00 CST 2019 0 1319
關於Git無法提交 index.lock的解決辦法

今天提交代碼時,在一次提交,莫名其妙沒成功后,再次用git commit -a命令時,出現以下錯誤,無論是用git還是TortoiseGit都會出現以下這個問題。。 $ git commit -afatal: Unable to create 'e:/git/Android/XXXXXX ...

Thu May 09 03:23:00 CST 2013 1 23190
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM