zoukankan      html  css  js  c++  java
  • git add . 的时候报错fatal: Unable to create : …File exists.

    报错内容: 

      $ git add .
      fatal: Unable to create 'E:/project/qbm_cs/.git/index.lock': File exists.

      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 bash 输入如下命令:(注意中间有空格)

        rm -f ./.git/index.lock

      git add 报错 file exists

  • 相关阅读:
    画板
    多线程
    Runtime
    今日头条UI搭建
    支付宝UI界面搭建
    控制器的创建
    UIWindow简单介绍
    UIApplication
    UIPickerView的使用
    代理、通知、KVO
  • 原文地址:https://www.cnblogs.com/untiring/p/7646157.html
Copyright © 2011-2022 走看看