I usually develop on a Mac but recently I've had to switch to a Windows machine and after cloning my project, Git is complaining about this:
error: unable to create file sites/all/modules/clientside_validation/clientside_validation_testswarm/features/clientside_validation_test_field_validation/clientside_validation_test_field_validation.default_field_validation_rules.inc: Filename too long
A quick Google search reveals that Git in Windows has a filename length cap and this file exceeds it.
Git proceeds to delete the file - which is annoying.
Comments
Comment #2
SoumyaDas CreditAttribution: SoumyaDas as a volunteer commentedHi @jaydee1818,
Open the Github Powershell or cmd.exe (you need to have git as an environment variable) and execute the following command :
git config --system core.longpaths true
This is working as per the windows behavior.