2

Unable to clone my repository from GitHub using GitHub Desktop application.

'Filename is too long' error thrown at final moment of cloning.

Anyone Please help to set up my repository.

1 Answers1

1

Make sure to use the latest Git for Windows, and, as mentioned in "Filename too long in git for windows"

git config --system core.longpaths true

Then try to clone again.

The alternative would be to use a subst Y: C:\path\to\arent\folder, switch to the Y: drive, and clone from there. But with recent msys2 shell, that should not be needed anymore.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250