原文: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