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

来源:互联网 发布:软件开发等级考试 编辑:程序博客网 时间:2024/06/04 19:33

执行命令: git commit -m 时候一时抽风,没有写描述,直接来了个文件名,然后悲剧了:
fatal: Unable to create ‘………/.git/index.lock’: File exists.
好吧…最后查资料获得解决方法

rm -f ./.git/index.lock

然后重新 提交就可以了

阅读全文
0 0
原创粉丝点击