git的一些常见错误与解决方法

当我在执行 git add xxxfile 或者 git commit xxxfile 出现如下问题:
第一个问题: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.
解决办法:
rm -f ./.git/index.lock
posted @ 2015-10-07 17:47  jcbtl  阅读(265)  评论(0)    收藏  举报