Git: Filename too long

I just got a new machine, it’s time to clone my git repository to this new machine. I think it will be just very simple, just use Visual Studio Code and clone it. Unfortunately, it’s not that, i had an error “Filename too long”. I did some search and the solution that it works for me is to run:

 

git config core.longpaths true

Leave a Reply

Your email address will not be published. Required fields are marked *