I was onboarding onto a new project and got an error when trying to checkout the repository. The filepaths were too long. How do I fix this?
It turns out there is a git setting exactly for this issue. I just had to change my global setting. First, check the value:
1git config --global core.longpaths
For me, I got no response when running the command, which mean the longpaths value had no value at all. I set it to true:
1git config --global core.longpaths
And could check out my repo and I'm off to the races.
