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
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 174,025评论 25 709
  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 135,115评论 19 139
  • @charset "utf-8";h1,h2,h3,h4,h5,h6,body,hr,p,dl,dt,dd,ul,...
    Simon_s阅读 562评论 0 0
  • 新品!要点去冰才好,分层才好看。哇晃一晃的时候两种颜色的混合真的很棒~ 口感还成,抹茶味稍有点重。
    菠00阅读 155评论 0 0
  • And so the lion fell in love with the lamb What a stupid ...
    冰鱼儿阅读 274评论 0 0