git 提交代码失败 Make sure no other git process is running and remove the file manually to continue.
在提交的代码的时候突然失败了,报错的信息是这样的
$ 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.
给你们翻译一下
以前没有遇到过,这里记录一下,大家有遇到可以尝试一下
到项目的文件中
会有一个 Git的文件夹,到这里找一个index.lock 删除即可
还没有评论,来说两句吧...