I was following some (rather disjointed) tutorial online for working with Git submodules, since it was my first time.
git submodule always spits out a long list of unrelated paths (probably
PATH env?) for no immediate obvious reason, but there is a much worse issue:
Xkeeper@RECYCLEBIN4400 /F/_secret/Kushura (master) $ git submodule sync No submodule mapping found in .gitmodules for path 'D:\Programs\Git/libexec/git-core;D:\Programs\Git\libexec\git-core; <long list of directories omitted...>' Synchronizing submodule url for '' Synchronizing submodule url for 'hump' $
I cannot figure out why it is reporting no name, because both
.gitmodules has it named properly:
$ cat .gitmodules [submodule "HardonCollider"] path = HardonCollider url = git://github.com/vrld/HardonCollider [submodule "hump"] path = hump url = git://github.com/vrld/hump
At the same time,
.git/config has a phantom submodule that won't go away, and reappears any time I try to
git submodule sync (even after removing it):
[submodule "HardonCollider"] url = git://github.com/vrld/HardonCollider [submodule "hump"] url = git://github.com/vrld/hump [submodule ""] url =
One problem that occurred is that the
HardonCollider module isn't linking on GitHub properly, while the
hump module is linking to the proper repo and commit. I cannot figure out why this is happening, either.
Outside of just nuking the repo and trying again I have no idea what to try next.