Skip to content

How to fix "Filename too long error" during git clone #91

Answered by marcialwushu
marcialwushu asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Start Git Bash as Administrator
  2. Run command git config --system core.longpaths true

Another way (only for this clone):

  • git clone -c core.longpaths=true <repo-url>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marcialwushu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant