If you run Windows 10 Home Edition you could change you Registry to enable Long Paths.
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
in regedit and then set LongPathsEnabled
to 1
.
If you have Windows 10 Pro or Enterprise you could also use Local Group Policies.
Go to Computer Configuration > Administrative Templates > System > Filesystem
in gpedit.msc
, open Enable Win32 long paths
and set it to Enabled
.
git config --system core.longpaths true
Thank you so much for your quick response @naikrovek . I tried running that command yesterday but still no luck. I have tried running using Git CMD and also Git Bash. Can you able to provide some instruction steps how to turn long file names I will try just in case...Many thanks in advance.