git 操作提示fatal: Unable to create '***/.git/index.lock': File exists.

来源:互联网 发布:清华经管北大光华知乎 编辑:程序博客网 时间:2024/05/29 19:25

git commit,reset等操作如果提示


fatal: Unable to create '******/.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.

直接把******/.git/目录下的文件删掉就可以了

0 0
原创粉丝点击