码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-03-04 19:32:43      阅读:161      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!