Filename too long unable to checkout working tree warning: Clone succeeded, but checkout failed.

1 Bug场景:

1.1 Git错误提示: 

 

2 Bug原因:

2.1 提示说是文件名太长,无法签出工作树警告:克隆成功,但签出失败。

3 解决方法:

3.1 管理员运行cmd

git config --system core.longpaths true

原文地址:https://www.cnblogs.com/liyhbk/p/14849002.html