一、问题描述

  在使用 git 时,提示

error: unable to create file xxx: Filename too long
error: unable to create file xxx: Filename too long
error: unable to create file xxx: Filename too long
error: unable to create file xxx: Filename too long
error: unable to create file xxxx: Filename too long
error: unable to create xxxx: Filename too long

二、解决方案

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

 git config --global core.longpaths true

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

三、实验截图

Git error: unable to create file xxx: Filename too long

相关文章:

  • 2021-07-12
  • 2021-12-08
  • 2021-09-08
  • 2021-04-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-24
  • 2022-12-23
  • 2021-07-28
  • 2021-08-27
  • 2022-12-23
  • 2021-09-21
  • 2021-07-24
相关资源
相似解决方案