Git提交修改的代码出现提交不上去

 

git commit 的时候出现如下错误

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.

 

解决方法:

进入该文件夹下

删除如下index.lock

解决

 

posted @ 2017-08-23 16:19  微笑灌溉  阅读(5060)  评论(0编辑  收藏  举报