git process crashed in this repository earlier

源:http://blog.csdn.net/wh_19910525/article/details/8161365

评:

1.今天当我执行gitaddsomefile的时候,出现如下错误:

Ifnoothergitprocessiscurrentlyrunning,thisprobablymeansa

gitprocesscrashedinthisrepositoryearlier.Makesurenoothergit

processisrunningandremovethefilemanuallytocontinue.

解决方法:

rm-f./.git/index.lock

git

相关推荐