首页 > 其他 > 详细

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

时间:2015-03-04 19:32:25      阅读:243      评论:0      收藏:0      [点我收藏+]

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

分类: Git&SVN |2014-03-03 14:10 |1231人阅读

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

fatal: Unable to create ‘/path/my_proj/.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.

可以试着删除 index.lock

rm -f ./.git/index.lock


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

原文:http://my.oschina.net/zsjasper/blog/382649

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!