meshio icon indicating copy to clipboard operation
meshio copied to clipboard

[BUG] failed to `git clone` main branch by https

Open qingfengxia opened this issue 3 years ago • 1 comments

To Reproduce

git clone https://github.com/nschloe/meshio.git on windows 10

will not complete sucessfully, wait for a few minutes, interrupt by ctrl+C

warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry the checkout with 'git checkout -f HEAD'

Exiting because of "interrupt" signal.

Diagnose

git status shows all files have been deleted

qingfengxia avatar Dec 01 '22 11:12 qingfengxia

I was unable to reproduce this error on Windows 11, and Mac.

I wonder if you might have had a problem with your internet connection when you tried to clone the repository. Since you force quit the git clone operation, that might be why git thought the files were deleted - it could have copied the .git directory that told it what files should exist, but since none of them were actually copied over properly, git thinks those files were deleted from your machine (instead of just failing to clone).

I did find another possibility, a case where git failed to clone to Windows because of spaces in folder names, but I think that's less likely to be the problem here (because it worked when I cloned it).

Unless this is still happening for you, I think this issue could be closed now.

GenevieveBuckley avatar Mar 06 '23 06:03 GenevieveBuckley