git 错误

来源:互联网 发布:波什程序员 编辑:程序博客网 时间:2024/05/16 10:24

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

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

0 0
原创粉丝点击