Git 提交文件过程中突然断网,等网恢复的时候,重新提交就提示
Another git process semms 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 remove the file manually to continue…
查找资料说是git进程被占用,是上次提交未成功,锁的资源没有被释放的原因造成的
解决文件是删除.git文件夹下的index.loc,删除后重新提交,即可。