Git checkouts fail on Windows with "Filename too long error: unable to create file"
·1 min read·paskov
Cause
According to the msysgit wiki on GitHub and the related fix this error, Filename too long, comes from a Windows API limitation of file paths having 260 characters or fewer.
Resolution
To resolve this issue, run the following command from GitBash or the Git CMD prompt (as administrator):
git config --system core.longpaths trueThis will allow file paths of 4096 characters.