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://g...@bitbucket.org: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://g...@bitbucket.org:userName/lib2.git' into submodule 
> path 'node_modules/lib2' failed
>
> Allthough I can do ...
>    git clone g...@bitbucket.org:userName/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 the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to