I'm trying to add a repo as a submodule for my project as it will depend on it. The project is hosted on bitbucket, and when I tried to add it using this: git submodule add https://bitbucket.org/blueluna/transmissionrpc
, I got the following:
Cloning into 'transmissionrpc'...
fatal: repository 'https://bitbucket.org/blueluna/transmissionrpc/' not found
Clone of 'https://bitbucket.org/blueluna/transmissionrpc' into submodule path 'transmissionrpc' failed
I clicked on the link itself in terminal, which led to a valid link. I'm not sure how to add this in my github repo. It will also give me issues through git clone in both SSH and HTTPS. Note, the original command copied for cloning this repo is as follows: hg clone ssh://hg@bitbucket.org/blueluna/transmissionrpc
, which uses mercurial as far as I know.