How to clone opencv's git repository
Hello,
I'm trying to clone opencv's git repository. I'm following stepts from here. But I'm stack on this point:
- Copy contents of the file id_rsa.pub to the Key field on the http://code.opencv.org/my/account page. Press Create.
Because on my account page there is no option to input RSA key with "Create" button. And when I'm clonning repository I'm getting next error:
fatal: unable to connect to code.opencv.org:
code.opencv.org[0: 5.9.49.245]: errno=No error
So how can I solve this problem? Thanks
Looks like the network to which I was connected was blocking access to repository. After connecting to another network I didn't get this error anymore. But still don't understand how I insert public key in my acconunt page. Is this step useless?
Public keys are used for write access to repository. It is for developers only. And if you want to contribute to OpenCV, make a pull request at github.
hello we have same problem. we can't clone.
git clone git://code.opencv.org/opencv.git Initialized empty Git repository in /home/hom_diu1/mod_pagespeed/opencv/.git/ code.opencv.org[0: 5.9.49.245]: errno=Connection timed out fatal: unable to connect a socket (Connection timed out)
any idea
Please read the instruction again http://code.opencv.org/projects/opencv/wiki/Working_with_OpenCV_git_repository. You should clone GitHub repository.
@homegate Check your network configuration, maybe there is some proxy that is blocking the access
@Andriy&Kirill We just wanted to build mod_pagespeed (https://developers.google.com/speed/docs/mod_pagespeed/build_from_source) from scratch. One of the steps that will be executed automatically ist the git command, which fails with the described error.(We don't us anny proxy
Please try the following:
git clone git://github.com/Itseez/opencv.git
This is official mirror of the OpenCV's central repository. And I don't think that this is a good idea, to be dependent on OpenCV master, you should choose some release tag.@Kirill Kornyakov Thank you, this works