warning: Clone succeeded, but checkout failed
Try this out:
git config --system core.longpaths true
Source
The following answer worked for me
- Open either cmd or git bash and run it as an administrator
- Give the following command on the cmd or git bash which you ran as an administrator above
git config --system core.longpaths true
- This will allow to access long file names globally
- Now you can clone the repositories without any issue with Filename too long