Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File name too long while cloning. #10

Closed
ayusmand opened this issue May 19, 2017 · 1 comment
Closed

File name too long while cloning. #10

ayusmand opened this issue May 19, 2017 · 1 comment

Comments

@ayusmand
Copy link

When I am trying to clone the repo, the repository, I encounter this problem:

Receiving objects: 100% (1826/1826), 4.51 MiB | 600.00 KiB/s, done.
Resolving deltas: 100% (401/401), done.
Checking connectivity... done.
fatal: cannot create directory at 'APIAuthorization/CustomAuthLambda/node_modules/jsonwebtoken/node_modules/jws/node_modules/base64url/node_modules/meow/node_modules/indent-string/node_modules/repeating/node_modules/is-finite/node_modules/number-is-nan': Filename too long
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

Is there a way we can shorten the very long file hierarchy?
My root folder isn't too big, it's actually "d:\OS_CODE_BASES\terraform_demo" shouldn't be a problem.

@ayusmand
Copy link
Author

I was on Windows using msys. Using the following solved the problem:

git config --system core.longpaths true

This issue can be closed, it's a very windows specific problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant