git pull aborted with error filename too long

前端 未结 7 1306
有刺的猬
有刺的猬 2020-12-07 08:11

I\'m using Windows as my OS, and working on a project with a friend who\'s using a Mac. He checked in code to our Github.

I was trying to git pull everything he did

7条回答
  •  悲哀的现实
    2020-12-07 08:46

    A few years late, but I'd like to add that if you need to do this in one fell swoop (like I did) you can set the config settings during the clone command. Try this:

    git clone -c core.longpaths=true 
    

提交回复
热议问题