git: unable to checkout working tree error: unable to create file Filename too long on windows

一,问题:
文件名太长了,导致git checkout失败

二,解决方案:
git config --system core.longpaths true

This will allow file paths of 4096 characters.

posted on 2021-05-25 16:20  woshare  阅读(2017)  评论(0编辑  收藏  举报