Eclipse操作——Eclipse git commit错误;Committing changes has encountered a problem An Internal error occured

背景

  • 在使用eclipse时,使用git commit 提交代码时,出项如下错误

  

解决方法

  • 在工程目录下找到 .git 文件夹 ,找到里面的 index.lock 文件,然后删掉这个文件就可以了,如下图

  

posted @ 2018-09-03 22:48  话·醉月  阅读(1858)  评论(0编辑  收藏  举报