今天提交代码时,在一次提交,莫名其妙没成功后,再次用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 删除即可

更多参考

最新文章

  1. [LeetCode] Construct Binary Tree from Inorder and Postorder Traversal 由中序和后序遍历建立二叉树
  2. 优化mysql服务器
  3. 基于 Winform + DotNetBar 写的股市行情助手
  4. UVALive 6500 Boxes
  5. Python Quick Start
  6. php安装libevent
  7. 菜鸟的MySQL学习笔记(三)
  8. 精通 Oracle+Python,第 6 部分:Python 支持 XML
  9. weex APIs
  10. css布局学习笔记之position属性
  11. IOS 中openGL使用教程4(openGL ES 入门篇 | 离屏渲染)
  12. 菜鸟学IT之python网页爬取多页爬取
  13. Python连接redis时要注意的点
  14. 【BJOI2019】删数 线段树
  15. c#中的 virtual override 和abstract 以及sealed
  16. decode 横竖转换
  17. keystone令牌三种生成方式
  18. Ajax引擎:ajax请求步骤详细代码
  19. 纯CSS3实现蜡烛(冒烟)效果
  20. 接口与协议学习笔记-AMBA片上通信协议_APB_AHB_AXI_AXI4不同版本(二)

热门文章

  1. Kali Linux又增加一个顶级域名kali.download
  2. [原]error LNK2005:"XXX已经在 XXX.obj 中定义 使用 /FORCE(强制文件输出)暴力解决
  3. Vuex 的使用 State Mutation Getter Action
  4. java-mybaits-015-mybatis逆向工程最佳实践【基础mybatis-generator、tk.mybatis、mubatis-plus】
  5. mybatis xml <choose>标签使用
  6. Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file at brut.androlib.res.decoder.ARSCDecoder.decode
  7. source insight 使用配置(私人)
  8. VS编译出错不自动运行上次的程序
  9. python flask框架学习(三)——豆瓣微信小程序案例(二)整理封装block,模板的继承
  10. HDU 2089 不要62 数位DP模板题