Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

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

Open
shernk opened this issue Mar 22, 2021 · 2 comments
Open

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

shernk opened this issue Mar 22, 2021 · 2 comments

Comments

@shernk
Copy link

shernk commented Mar 22, 2021

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
Copy link
Contributor

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
Copy link
Author

shernk commented Apr 15, 2021

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants