今天写完代码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 processesare 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这个文件就可以了。