zoukankan      html  css  js  c++  java
  • Git拉取代码提示Another git process seems to be running

    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在使用过程中遭遇了奔溃,部分被上锁资源没有被释放导致的。

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

  • 相关阅读:
    Rocket
    Rocket
    Rocket
    Rocket
    Rocket
    PHPstorm快捷键大全
    PHP命名规则
    第二章:第2章PHP基础语法
    第一章:初识PHP
    jQuery适用技巧笔记整合
  • 原文地址:https://www.cnblogs.com/kongwei/p/10566214.html
Copyright © 2011-2022 走看看