mac git pull的时候报错git process is currently running

需求:执行 git pull 的时候,出现 如下 错误:

error

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. 

解决方案:

到你项目文件目录下

sudo rm -rf  ./.git/index.lock

你可能感兴趣的:(mac git pull的时候报错git process is currently running)