博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【Error】fatal: Unable to create '.../.git/index.lock':
阅读量:4207 次
发布时间:2019-05-26

本文共 423 字,大约阅读时间需要 1 分钟。

使用git add时遇到错误:

fatal: Unable to create '/Volumes/APFS-case-sensitive/Tech/Pwn/thinkycx@pwn/.git/index.lock': File exists.Another git process seems to be running in this repository, e.g.an editor opened by 'git commit'. Please make sure all processesare terminated then try again. If it still fails, a git processmay have crashed in this repository earlier:remove the file manually to continue.

解决办法:

rm .git/index.lock

参考:

转载地址:http://ygmli.baihongyu.com/

你可能感兴趣的文章
0101-ioc
查看>>
0102-aop
查看>>
0103-springmvc的基本流程
查看>>
面试-PA和XSYX面试小结
查看>>
0104 gradle入门
查看>>
0105 springMVC开发基础
查看>>
0106 springMVC REST风格
查看>>
0107 spring操作数据库的3个架子
查看>>
0108 spring的申明式事务
查看>>
ej3-1优先使用静态工厂方法而非构造函数来创建对象
查看>>
0109 springboot的部署测试监控
查看>>
0113 spring定时任务和异步线程池
查看>>
0104 代码方式动态刷新logback日志配置
查看>>
0115 springboot template方式操作mongodb
查看>>
0116 spring的webFlux
查看>>
0120 springboot集成Mybatis和代码生成器
查看>>
0121 spring-boot-redis的使用
查看>>
0203 生成mysql的数据库的数据字典
查看>>
0207 软件是如何运行和崩溃的?
查看>>
0203 生成mysql的数据库的数据字典
查看>>