美文网首页
Unable to create .git/index.lock

Unable to create .git/index.lock

作者: pdog18 | 来源:发表于2017-02-15 14:01 被阅读58次

    执行 git add . 的时候,出现 如下 错误:

    If no other git process is currently running, this probably means agit process crashed in this repository earlier. Make sure no other gitprocess is running and remove the file manually to continue.
    

    解决方法:
    rm -f ./.git/index.lock

    相关文章

      网友评论

          本文标题:Unable to create .git/index.lock

          本文链接:https://www.haomeiwen.com/subject/zsdqwttx.html