zoukankan      html  css  js  c++  java
  • git Bush应用崩溃If no other git process is currently running, this probably means a git process crashed

    用git Bush提交的时候遇到一个问题,不论做什么操作都遇到下面的错误信息

    fatal: Unable to create 'XXXXXXXXX' : File exists.

    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.

    如何解决呢

    按照'XXXXXXXXX'里面说的路径找到该文件,删除就可以了

    如果没有以上的提示

      则把仓库目录里的.git/index.lock文件(文件是隐藏的)删除就可以了。删除index.lock不会影响Git使用。是说index文件被锁住了,但是还有一个index文件要进行操作。

    一个仓库配有一个.git文件夹,在这个文件夹里面生成了一个index.lock文件,导致index文件不能被操作,所以把index.lock删除就ok

    在选择的产库目录下找到.git

  • 相关阅读:
    BZOJ3781 小B的询问
    BZOJ3757 苹果树
    BZOJ1491 [NOI2007]社交网络
    BZOJ3754 Tree之最小方差树
    BZOJ1251 序列终结者
    BZOJ2259 [Oibh]新型计算机
    BZOJ1043 [HAOI2008]下落的圆盘
    D. 预定义变量
    A. 变量命名原则
    B. PHP变量的特点
  • 原文地址:https://www.cnblogs.com/sunnie-cc/p/7724221.html
Copyright © 2011-2022 走看看