Git报错:Another git process seems to be running in this repository 解决方法

Unable to create ‘D:/xxx/.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. Pull
operation failed.

解决方法

找到.git/index.lock文件,直接删除即可;

 

posted @ 2022-11-02 15:22  herry菌  阅读(128)  评论(0编辑  收藏  举报