git for windows下的Filename too long

 

 

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

解决:

打开git命令行:

git config --global core.longpaths true

 

posted @ 2021-09-29 15:20  linzm14  阅读(52)  评论(0)    收藏  举报