facebookarchive / instant-articles-builder

Instant Articles Rules Editor
https://facebook.github.io/instant-articles-builder
Other
125 stars 67 forks source link

git clone failure - Clone succeeded, but checkout failed. #169

Open shernk opened 3 years ago

shernk commented 3 years ago

error: invalid path 'src/img/icon.iconset/Icon?' 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 :/'

pestevez commented 3 years ago

Hey @shernk - are you using a machine running with Windows to clone the repo? I ran into this issue today and I believe it is related to the filename of the file icon.iconset. As a temporary workaround, can you try the following command:

git clone https://github.com/facebook/instant-articles-builder.git --branch no-icon

I just deleted the file with the name that is causing the conflict, pushed that change to the no-icon branch and I was able to clone the repo.

shernk commented 3 years ago

@pestevez I clone this repo by Github Desktop, I did clone --branch no-icon but still have the same error. That's odd! Screenshot 2021-04-15 110607