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

I. Description of the problem

  When using git, tips

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

Second, the solution

  In the path of the Clone, run this command:

 git config --global core.longpaths true

Delete the old Clone project, you can re-Clone!

Third, experimental shots

Guess you like

Origin www.cnblogs.com/gzbit-zxx/p/10990031.html