GIT Error : Filename too long warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status'

Hey Guys,

Lot of people among you might have seen below error while taking git check out:


xxxxxxxxxxx:Filename too long
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f Head'

Solution:

Execute below command and try again:


git config --system core.longpaths true



I hope your problem is resolved.

Happy Coding!!!

Comments

Popular posts from this blog

Editing hosts file using cmd

What is CMS? Why we need it?