Thanx, Thomas. This is kinda typo. And this works: *$ git submodule add [email protected]:userName/lib2.git node_modules/lib2*
On Wed, Jul 10, 2013 at 11:49 AM, Thomas Ferris Nicolaisen <[email protected] > wrote: > On Tuesday, July 9, 2013 4:55:29 PM UTC+2, Maxim Yefremov wrote: > >> I want to add git submodule >> >> *$ git submodule add git+ssh://[email protected]:userName/lib2.git >> node_modules/lib2* >> >> Cloning into 'node_modules/lib2'... >> ssh: Could not resolve hostname bitbucket.org:userName: nodename nor >> servname provided, or not known >> fatal: Could not read from remote repository. >> >> Please make sure you have the correct access rights >> and the repository exists. >> Clone of 'git+ssh://[email protected]:u**serName/lib2.git' into >> submodule path 'node_modules/lib2' failed >> >> Allthough I can do ... >> git clone [email protected]:userNa**me/lib2.git >> ... without problems. So I have valid ssh keys. My os is OsX. >> > > Why do you clone a different url than the one you used for the submodule > (git+ssh)? > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Git for human beings" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/git-users/HMgL5hv8exc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- С уважением, Максим Ефремов -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
