您的位置:首页 > 其它

解决 fatal: Unable to create 'C:/wamp/www/HomeCare/.git/index.lock': File exists.

2017-10-11 09:29 387 查看


使用git命令时遇到 fatal: Unable to create index.lock File exists  

         fatal: Unable to create 'C:/wamp/www/HomeCare/.git/index.lock': 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.

         
        


解决办法:

          在项目根目录下 .git 文件夹。找到文件夹里面的index.lock 文件,删除!即可解决问题。
     (这个大概是因为 git 一些失误操作冲突被锁住了)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Git
相关文章推荐