Skip to content

Space in the File name makes git clone fail #1713

@ichandan16

Description

@ichandan16

Hi, Git clone fails due to a space in end of this file:

https://github.com/GoogleCloudPlatform/kubernetes-engine-samples/blob/main/.github/workflows/quickstarts-monolith-to-microservices-ci.yml%20

$ git clone https://github.com/GoogleCloudPlatform/kubernetes-engine-samples.git
Cloning into 'kubernetes-engine-samples'...
remote: Enumerating objects: 13646, done.
remote: Counting objects: 100% (884/884), done.
remote: Compressing objects: 100% (208/208), done.
remote: Total 13646 (delta 762), reused 676 (delta 676), pack-reused 12762 (from 4)
Receiving objects: 100% (13646/13646), 11.91 MiB | 11.85 MiB/s, done.
Resolving deltas: 100% (8541/8541), done.
error: invalid path '.github/workflows/quickstarts-monolith-to-microservices-ci.yml '
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 :/'

quickstarts-monolith-to-microservices-ci.yml

Metadata

Metadata

Assignees

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