精选圈子榜单优站
编程综合
编程综合
技术
20关注
编程技术记录、分享 ,记录你的编程生活点点滴滴!

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


$ git add -A

fatal: Unable to create '/home/nemo/workpace/workpace01/Kira/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.

an editor opened by 'git commit'. Please make sure all processes

are terminated then try again. If it still fails, a git process

may have crashed in this repository earlier:

remove the file manually to continue.

解决:

rm /home/nemo/workpace/workpace01/Kira/.git/index.lock

  • 若文章侵犯了您的权益,请联系我们进行处理。

  • 2017-05-02
  • 4279阅读
评论