使用Git提交代码失败,提示:
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.
大概意思是Git进程被占用。试了几次都没成功,重启电脑也没解决。
搜了下网上提供的解决方法是:
项目目录 > .Git目录 > 删除index.lock文件即可
参考文章:Git操作失败并提示Another git process seems to be running in this......_迟到的月亮-CSDN博客