checkout icon indicating copy to clipboard operation
checkout copied to clipboard

[window] error: invalid path

Open Scrum opened this issue 4 years ago • 5 comments

Hi, I ran into a specific problem when cloning where the file has a name that contains the parameter.

Here you can see the error in more detail if you expand the Checking out the ref item

Error: error: invalid path 'test/img/111x52.png?2'

such a file exists with exactly the same parameter.

Do you have any thoughts on this?

Scrum avatar Oct 09 '20 12:10 Scrum

I've been struggling with this one too. Apparently, it has to do with the Windows file system not supporting specific characters in file paths. But still, this has to work.

Any ideas?

drkameleon avatar Mar 26 '21 07:03 drkameleon

I have exactly the same problem at the very first step of my worflow.

Desiderius42 avatar Mar 30 '21 14:03 Desiderius42

I "fixed" it by eliminating filepaths with a ? in the name (which was the initial issue), but this can't be the way to go...

drkameleon avatar Mar 31 '21 11:03 drkameleon

Even worse for us

Update Oh, we ran into the infamous con naming on Windows.

ohsayan avatar Apr 27 '21 04:04 ohsayan

Pls, has anyone been able to fix this. I'm having this issue also.

kingjamesegun avatar Sep 25 '22 19:09 kingjamesegun