问题原因

git在Windows下文件路径的长度是有限制的,超长了更新代码就会报错。

问题解决方案

在该 Clone 的路径下,运行该命令:

git config --global core.longpaths true

删除老的 Clone 项目,重新 Clone 即可!

更多推荐