starlingcode / Via-for-Rack

MIT License
24 stars 8 forks source link

Can't add submodules to new cloned repo due to non https URL in .gitmodules #32

Closed SteveRussell33 closed 2 years ago

SteveRussell33 commented 2 years ago

After cloning new repo, adding submodules fails:

$ git submodule update --init --recursive
Submodule 'Via' (git@github.com:starlingcode/Via.git) registered for path 'Via'
Submodule 'dep/starling-dsp' (https://github.com/starlingcode/starling-dsp) registered for path 'dep/starling-dsp'
Submodule 'dep/starling-rack-ui' (https://github.com/starlingcode/starling-rack-ui) registered for path 'dep/starling-rack-ui'
Submodule 'res/starling-rack-gfx' (https://github.com/starlingcode/starling-rack-gfx) registered for path 'res/starling-rack-gfx'
Cloning into '/c/_Projects/VCVRack/Rack-SDK-2/plugins/Via-for-Rack/Via'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

This is due to this url in .gitmodules

[submodule "Via"]
    path = Via
    url = git@github.com:starlingcode/Via.git

which had been https://github.com/starlingcode/Via.git previously.

liquidcitymotors commented 2 years ago

Thanks Steve! Latest commit should fix this.