往git上用命令行上传代码的时候,遇到这个问题,但是找到这个文件后,因为项目处于打开状态,无法删除,关闭项目后,index.lock文件又消失了。。。离谱。。。
索性直接ctrl+alt+del 打开资源管理器,找到git.exe进程,通通杀掉。。。。完美解决
(那些rm /git clean 都没用的情况下)

解决git:fatal:Unable to create”…/.git/index.lock” 的错误相关推荐

  1. Unable to create '.git/index.lock': File exists

    Git – fatal: Unable to create '/.git/index.lock': File exists. fatal: Unable to create '/path/my_pro ...

  2. 使用Sourcetree进行Git操作时失败提示:Unable to create '../.git/index.lock': File exists.

    今天使用git时发现无法切换分支,也无法拉取更新代码,报错: fatal: Unable to create '-/.git/index.lock': File exists. 分析原因应该是:我在使 ...

  3. 使用git上传工程出现fatal:Unable to create ‘/xxx/xxx/xxx/.git/index.lock‘:File exists的解决办法

    git上传工程出现fatal:Unable to create '/xxx/xxx/xxx/.git/index.lock':File exists的原因及解决方法 先说解决办法 再来说说原因 官方说 ...

  4. 【038】使用git commit命令时遇到 fatal: Unable to create index.lock File exists 错误的解决办法

    一.问题描述 使用git commit 命令提交代码,遇到下面的错误: $ git commit -m 'Test' fatal: Unable to create 'D:/MyProject/.gi ...

  5. git命令出现fatal: Unable to create 'xxx/.git/index:File exists.问题

    用git commit命令时,出现 fatal: Unable to create 'xxx/.git/index:File exists. Another git process seems to ...

  6. git命令出现fatal: Unable to create ‘xxx/.git/index:File exists

    最近提交代码遇到的一些问题,网上找的解决办法,免得忘记了,特此记录一下. $ git checkout xxx fatal: Unable to create 'xxxxx/.git/index.lo ...

  7. fatal: Unable to create ‘D:/project/.git/index.lock‘: File exists

    git 命令行报错:fatal: Unable to create 'D:/project/.git/index.lock': File exists 出现这种错误 解决办法: //在git bash ...

  8. SourceTree报错git -c diff.mnemonicprefix=false fatal: Unable to create ‘D:/xxx/.git/index.lock‘: File

    完整报错信息: git -c diff.mnemonicprefix=false -c core.quotepath=false commit -q -F C:\Users\honry.guan\Ap ...

  9. Git报错:fatal: Unable to create ‘xx/.git/index.lock‘: File exis

    一 报错:fatal: Unable to create 'xx/.git/index.lock': File exis 如下: $ git commit fatal: Unable to creat ...

  10. IDEA中对代码进行commit时,git报Unable to create ‘E:/blog/.git/index.lock‘: File exists问题解决

    IDEA中对代码进行commit时,git报Unable to create 'E:/blog/.git/index.lock': File exists问题解决 **解决方法** **方法一** * ...

最新文章

  1. 从消息到数据湖:看 Apache RocketMQ、Hudi、Kyuubi 最新进展
  2. centos7 r语言安装_R 和 RStudio 的安装及 R Profile 的配置 amp; 初识 R 语言数据爬取...
  3. 细嚼慢咽C++primer(4)——类(1):构造函数,类型别名
  4. Git - Pull Request工作流
  5. 《南溪的目标检测学习笔记》——特征归一化(meadstd)
  6. CTO视点 | 思科打造业界首个基于意图的开放性网络平台,释放无限机遇
  7. 为什么我会反对大家写工作日报
  8. TCP/IP协议学习(五) 基于C# Socket的C/S模型
  9. 一起谈.NET技术,asp.net控件开发基础(9)
  10. HTML/CCS初学的小小收获(大虾表鄙视小白)(1)
  11. yii2 DAO实现增,删,改,查
  12. 基金行业数据安全保障体系建设探析
  13. 【接口测试用例设计思路】
  14. QT 资源管理器和.qrc文件的使用
  15. TM1640驱动程序
  16. 51单片机驱动TM1638芯片+Proteus仿真
  17. 如何使用机器学习在一个非常小的数据集上做出预测
  18. Shaderlab 玻璃效果
  19. 恢复被文件夹病毒恶意隐藏的文件夹
  20. ❤ CSDN榜一博主,半年文章汇总【答谢粉丝、文末送书4本】❤

热门文章

  1. FXMarket奇米股指:清明节期间产品休市和出入金安排通知
  2. ASP.NET资源大全
  3. 北京环球影城游玩攻略
  4. Java Seckill Module:Seckill interface address hiding
  5. Bada项目的目录结构
  6. 虚拟机搭建服务器实验报告,架设服务器实验报告.pdf
  7. 如何查看计算机主机名称,查看和修改主机名
  8. 《精益创业》读书笔记
  9. 相机视场角和焦距_相机视场角估计
  10. 解决 给Example类序列化依旧报:Serialized class com.chaz.pojo.SpaItemExample must implement java.io...需要序列化的错误