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

Cloning this repository fails on Windows #23

Open
waf opened this issue Jan 27, 2021 · 0 comments
Open

Cloning this repository fails on Windows #23

waf opened this issue Jan 27, 2021 · 0 comments

Comments

@waf
Copy link
Contributor

waf commented Jan 27, 2021

It's possible to get the following error when cloning this repository on Windows:

error: unable to create file
dotnetconfth.github.io/2020/Sessions/Developing_Debugging ASP .NET Core Web API on Kubernetes with Microsoft Bridge to Kubernetes/[.NETCONF] - Developing _ Debugging ASP .NET Core Web API on Kubernetes with Microsoft Bridge to Kubernetes.pdf
Filename too long error: unable to create file

By default, git on windows restricts path lengths to 260 characters (this used to be a restriction in Windows, but I don't think it is anymore). The above file path is 241 characters long, so if you clone the repo somewhere farther from the root of the drive, it's likely to fail.

It can be fixed by running the following git command as Administrator:

git config --system core.longpaths true

However, we should still consider renaming the above file.

aaronamm added a commit to aaronamm/dotnetconfthailand.github.io that referenced this issue Aug 22, 2021
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