1. 问题描述:
If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually to continue.
2. 解决方案:
原因:
如果当前没有其他git进程在运行,这可能意味着git进程早些时候在此存储库中崩溃。确保没有其他git进程正在运行,请手动删除该文件以继续。
解决:
把仓库目录里的.git/index.lock文件(文件可能是隐藏的)删除就可以了