当前位置:   article > 正文

【git】 无法commit问题_git无法commit

git无法commit

今天写完代码Git commit -m 一下发现提示

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.

大致意思就是你已经提交一了一个commit,该进程卡在这里了,所以无法继续提交。


切换到.git 目录下,手动删除index.lock这个文件就可以了。


声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号