[Git] 解决: error: unable to create file src/main/webapp/xxxxxx/xxxx: Filename too long

git有可以创建4096长度的文件名,然而在windows最多是260,因为git用了旧版本的windows api,为此踩了个坑。

1 解决方案

$ git config --global core.longpaths true

2 参考文献

posted @ 2020-09-24 15:51  千千寰宇  阅读(3412)  评论(0)    收藏  举报