Skip to content

[BUG] Unable to clone this repository with git clone. Error is fatal: remote error: upload-pack: not our ref #573

@futuremotiondev

Description

@futuremotiondev
  1. git clone https://github.com/taskgenius/taskgenius-plugin
  2. Look at the output:
Cloning into 'X:\obsidian-external-plugins\taskgenius-taskgenius-plugin'...
remote: Enumerating objects: 16174, done.
remote: Counting objects: 100% (2340/2340), done.
remote: Compressing objects: 100% (668/668), done.
remote: Total 16174 (delta 1879), reused 1672 (delta 1672), pack-reused 13834 (from 2)
Receiving objects: 100% (16174/16174), 24.70 MiB | 35.13 MiB/s, done.
Resolving deltas: 100% (11639/11639), done.
Submodule 'docs' (https://github.com/taskgenius/taskgenius-doc) registered for path 'docs'
Submodule 'packages/calendar' (https://github.com/taskgenius/calendar.git) registered for path 'packages/calendar'
Cloning into 'X:/obsidian-external-plugins/taskgenius-taskgenius-plugin/docs'...
remote: Enumerating objects: 1293, done.
remote: Counting objects: 100% (2/2), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 1293 (delta 0), reused 0 (delta 0), pack-reused 1291 (from 1)
Receiving objects: 100% (1293/1293), 2.45 MiB | 10.49 MiB/s, done.
Resolving deltas: 100% (645/645), done.
Cloning into 'X:/obsidian-external-plugins/taskgenius-taskgenius-plugin/packages/calendar'...
remote: Enumerating objects: 677, done.
remote: Counting objects: 100% (677/677), done.
remote: Compressing objects: 100% (412/412), done.
remote: Total 677 (delta 374), reused 536 (delta 233), pack-reused 0 (from 0)
Receiving objects: 100% (677/677), 357.21 KiB | 2.75 MiB/s, done.
Resolving deltas: 100% (374/374), done.
fatal: remote error: upload-pack: not our ref 656596618d0145f6cb8fa8d123934bebe3480131
fatal: Fetched in submodule path 'docs', but it did not contain 656596618d0145f6cb8fa8d123934bebe3480131. Direct fetching of that commit failed.
  1. Relevant part:
fatal: remote error: upload-pack: not our ref 656596618d0145f6cb8fa8d123934bebe3480131
fatal: Fetched in submodule path 'docs', but it did not contain 656596618d0145f6cb8fa8d123934bebe3480131. Direct fetching of that commit failed.

I'm not great with git but it appears commit 656596618d0145f6cb8fa8d123934bebe3480131 isn't present in the docs submodule source (https://github.com/taskgenius/taskgenius-doc)

All of the content other than the docs folder clones correctly. But the docs folder is empty. So what I did was just clone https://github.com/taskgenius/taskgenius-doc into the docs folder manually.

Anyway, just thought you would like to know about this small error as it's preventing people from cloning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions