当前位置:   article > 正文

Git操作失败提示Another git process...

another git process

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. 
  • 1
  • 2
  • 3
  • 4
  • 5

上述问题的意思是:git被另外一个程序占用,重启机器也不能够得到解决。

出现这个问题的解决办法就是:

进入项目文件夹下的 .git文件中(显示隐藏文件夹或rm .git/index.lock)删除index.lock文件即可。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/在线问答5/article/detail/826733
推荐阅读
相关标签
  

闽ICP备14008679号