Skip to content

Filenames too long during gh clone #545

Description

@ahofNB

I chose a very short directory, but still getting this error:

C:\rp>gh repo clone microsoft/Dynamics-365-FastTrack-Implementation-Assets
Cloning into 'Dynamics-365-FastTrack-Implementation-Assets'...
remote: Enumerating objects: 12053, done.
remote: Counting objects: 100% (1419/1419), done.
remote: Compressing objects: 100% (519/519), done.
remote: Total 12053 (delta 1026), reused 929 (delta 900), pack-reused 10634 (from 4)
Receiving objects: 100% (12053/12053), 608.32 MiB | 52.20 MiB/s, done.
Resolving deltas: 100% (6048/6048), done.
error: unable to create file Customer Service/Field Service/Component Library/FSMobile/Service Report/solutions/FieldServiceReporting/Solution/Entities/BookableResourceBooking/FormXml/main/{32a79486-b187-4ab6-a6fe-f22a88b63261}_managed.xml: Filename too long
error: unable to create file Customer Service/Field Service/Component Library/FSMobile/Service Report/solutions/FieldServiceReporting/Solution/WebResources/_o25fs/BookableResourceBooking/FSReporting.BookableResourceBooking.Library.js.data.xml: Filename too long
Updating files: 100% (2290/2290), done.
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

failed to run git: exit status 128

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