git push 时 fatal: Unable to create 'D:/phpStudy/WWW/green_tree/.git/index.lock': File exists.解决办法

找到自己的项目,找到.git文件夹,进去把目标文件删除即可

或者使用rm -rf 命令(如果没有那个文件件或者文件,将隐藏文件打开就可以看到了)

猜你喜欢

转载自www.cnblogs.com/Ares0023/p/9843390.html