Ask Your Question

How to clone opencv's git repository

asked 2012-10-08 05:06:40 -0500

Andriy gravatar image

updated 2020-10-05 08:31:13 -0500


I'm trying to clone opencv's git repository. I'm following stepts from here. But I'm stack on this point:

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[0:]: errno=No error

So how can I solve this problem? Thanks

edit retag flag offensive close merge delete


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?

Andriy gravatar imageAndriy ( 2012-10-08 06:06:21 -0500 )edit

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.

Vladislav Vinogradov gravatar imageVladislav Vinogradov ( 2012-10-08 06:14:42 -0500 )edit

hello we have same problem. we can't clone.

git clone git:// Initialized empty Git repository in /home/hom_diu1/mod_pagespeed/opencv/.git/[0:]: errno=Connection timed out fatal: unable to connect a socket (Connection timed out)

any idea

homegate gravatar imagehomegate ( 2012-10-17 07:10:40 -0500 )edit

Please read the instruction again You should clone GitHub repository.

Kirill Kornyakov gravatar imageKirill Kornyakov ( 2012-10-17 08:35:44 -0500 )edit

@homegate Check your network configuration, maybe there is some proxy that is blocking the access

Andriy gravatar imageAndriy ( 2012-10-17 10:14:56 -0500 )edit

@Andriy&Kirill We just wanted to build mod_pagespeed ( 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

homegate gravatar imagehomegate ( 2012-10-18 03:15:32 -0500 )edit

Please try the following: git clone 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 gravatar imageKirill Kornyakov ( 2012-10-18 12:16:57 -0500 )edit

@Kirill Kornyakov Thank you, this works

homegate gravatar imagehomegate ( 2012-10-19 03:23:21 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2012-10-09 01:40:36 -0500

Daniil Osokin gravatar image

updated 2012-10-09 01:41:12 -0500

Hi! To clone repository, you needn't rsa key, just type

git clone git://

edit flag offensive delete link more



Actually everyone should clone this repo:

Kirill Kornyakov gravatar imageKirill Kornyakov ( 2012-10-18 01:55:42 -0500 )edit

Question Tools


Asked: 2012-10-08 05:06:40 -0500

Seen: 5,472 times

Last updated: Oct 09 '12