How to fix "Filename too long error" during git clone #91
-
I am trying to take a git clone from a particular branch of my bitbucket repository using the below command: git clone --branch . However, I am getting the below error while taking the clone:
I tried resolving this by running the below command in my git cmd git config --system core.longpaths true. But I am getting:
How do I solve these two errors? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Another way (only for this clone):
|
Beta Was this translation helpful? Give feedback.
git config --system core.longpaths true
Another way (only for this clone):
git clone -c core.longpaths=true <repo-url>