Skip to content

Cannot Clone on Windows because of path naming #2

Open
@GanbaruTobi

Description

@GanbaruTobi

In Windows | is not a valid character for a directory.

Error:

❯ git -c core.protectNTFS=false clone https://github.com/VergiliusProject/vergiliusproject.github.io
Cloning into 'vergiliusproject.github.io'...
remote: Enumerating objects: 610860, done.
remote: Counting objects: 100% (245489/245489), done.
remote: Compressing objects: 100% (3444/3444), done.
remote: Total 610860 (delta 245093), reused 242347 (delta 242045), pack-reused 365371Receiving objects: 100% (610860/610Receiving objects: 100% (610860/610860), 133.76 MiB | 23.06 MiB/s, done.

Resolving deltas: 100% (609694/609694), done.
error: unable to create file kernels/x64/Windows 10 | 2016.html: Invalid argument
fatal: cannot create directory at 'kernels/x64/Windows 10 | 2016': Invalid argument
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

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