git clone and long paths on windows

Jonas Samuelsson - Jul 1 '21 - - Dev Community

If you ever run in to the issue that you can't clone a git repo because it contains paths longer than 260 characters on windows run

git config --global core.longpaths true
Enter fullscreen mode Exit fullscreen mode

There is a registry entry for long paths as well but that doesn't help here.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"LongPathsEnabled"=dword:00000001
Enter fullscreen mode Exit fullscreen mode
. . . . . . . . . . . . . . . .
Terabox Video Player