Unable to create 'E:/.git/index.lock': File exists.

Unable to create 'E:/code/fund/at-fundsys/at-fundsys/.git/index.lock': File exists. Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. 

产生原因:可能是由于不正确操作git或者输错命令导致;

解决方法:

同级目录下用rm -f ./.git/index.lock删除

或者直接进入文件夹找到对应文件删除

猜你喜欢

转载自blog.csdn.net/Trival_dreamy/article/details/82986531