Cannot clone repository

Issue #145 resolved
Kevin Ng created an issue

The following is what I got when try to clone this repository

\$ git clone https://kevin_ngkf@bitbucket.org/john_maloney/smallvm.git
Cloning into 'smallvm'...
remote: Counting objects: 12386, done.
remote: Compressing objects: 100% (5209/5209), done.
remote: Total 12386 (delta 8745), reused 10302 (delta 7078)
Receiving objects: 100% (12386/12386), 54.61 MiB | 1.04 MiB/s, done.
Resolving deltas: 100% (8745/8745), done.
fatal: cannot create directory at 'gp/Examples/ by board/micro:bit and Calliope': Invalid argument
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

and folders such as /vm is missing. May I ask why ?

Comments (2)

  1. Bernat Romagosa

    I have no idea, but the exact same command did work for me:

    % git clone https://kevin_ngkf@bitbucket.org/john_maloney/smallvm.git
    S'està clonant a «smallvm»...
    remote: Counting objects: 12445, done.
    remote: Compressing objects: 100% (5268/5268), done.
    remote: Total 12445 (delta 8787), reused 10301 (delta 7078)
    S'estan rebent objectes: 100% (12445/12445), 54.62 MiB | 1.73 MiB/s, fet.
    S'estan resolent les diferències: 100% (8787/8787), fet.
    

    It’s (mostly) not in English, but you can see it fetched the repo correctly, and the contents are all there:

    % ls smallvm
    boards     chromeApp            esp32   ide       linux+pi      misc                                        platformio.ini   README.md      vm
    build.sh   entitlements.plist   gp      LICENSE   Locales.txt  'Mozilla Public License, version 2.0.html'   precompiled      translations
    

    Sounds like something specific to your system. Does it happen with other Git repos?

  2. Bernat Romagosa

    Haven't heard back from you, and I've just tried to clone the repo from another computer without any issues, so I suppose this was a one-time error in your particular setup.

  3. Log in to comment