关于Git无法提交 index.lock的解决办法
2024-08-27 00:21:38
今天提交代码时,在一次提交,莫名其妙没成功后,再次用git commit -a命令时,出现以下错误,无论是用git还是TortoiseGit都会出现以下这个问题。。
$ git commit -a
fatal: Unable to create 'e:/git/Android/XXXXXX/.git/index.lock': File e
xists.
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.
解决办法:找到index.lock 删除即可
最新文章
- [LeetCode] Construct Binary Tree from Inorder and Postorder Traversal 由中序和后序遍历建立二叉树
- 优化mysql服务器
- 基于 Winform + DotNetBar 写的股市行情助手
- UVALive 6500 Boxes
- Python Quick Start
- php安装libevent
- 菜鸟的MySQL学习笔记(三)
- 精通 Oracle+Python,第 6 部分:Python 支持 XML
- weex APIs
- css布局学习笔记之position属性
- IOS 中openGL使用教程4(openGL ES 入门篇 | 离屏渲染)
- 菜鸟学IT之python网页爬取多页爬取
- Python连接redis时要注意的点
- 【BJOI2019】删数 线段树
- c#中的 virtual override 和abstract 以及sealed
- decode 横竖转换
- keystone令牌三种生成方式
- Ajax引擎:ajax请求步骤详细代码
- 纯CSS3实现蜡烛(冒烟)效果
- 接口与协议学习笔记-AMBA片上通信协议_APB_AHB_AXI_AXI4不同版本(二)
热门文章
- Kali Linux又增加一个顶级域名kali.download
- [原]error LNK2005:";XXX已经在 XXX.obj 中定义 使用 /FORCE(强制文件输出)暴力解决
- Vuex 的使用 State Mutation Getter Action
- java-mybaits-015-mybatis逆向工程最佳实践【基础mybatis-generator、tk.mybatis、mubatis-plus】
- mybatis xml <;choose>;标签使用
- Exception in thread ";main"; brut.androlib.AndrolibException: Could not decode arsc file 	at brut.androlib.res.decoder.ARSCDecoder.decode
- source insight 使用配置(私人)
- VS编译出错不自动运行上次的程序
- python flask框架学习(三)——豆瓣微信小程序案例(二)整理封装block,模板的继承
- HDU 2089 不要62 数位DP模板题