Skip to content

Cloning this repository fails on Windows #23

@waf

Description

@waf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions