您的位置:首页 > 其它

fatal: Unable to create '........./.git/index.lock': File exists.

2017-08-02 16:24 190 查看
执行命令: git commit -m 时候一时抽风,没有写描述,直接来了个文件名,然后悲剧了:

fatal: Unable to create ‘………/.git/index.lock’: File exists.

好吧…最后查资料获得解决方法

rm -f ./.git/index.lock


然后重新 提交就可以了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  git
相关文章推荐