On 2013.03.26 at 18:28 +0000, Iyer, Balaji V wrote:
> Hello everyone,
>       I am trying to clone a git repository and I am getting the following 
> error. Can someone please tell me what this error could be and how I could 
> fix this? It worked for me a while back but not now.
> 
> I tried the following command:
> git clone http://gcc.gnu.org/git/gcc.git gcc.git
> 
> 
> This is the output I got:
> 
> Initialized empty Git repository in /export/users/gcc.git/.git/
> error: The requested URL returned error: 503 (curl_result = 22, http_code = 
> 503, sha1 = 948da40c5008d4d7c2f8020f4e0ebddfc144350d)
> error: Unable to find 52979cfc138789a17ec692b59dd239566b055e94 under 
> http://gcc.gnu.org/git/gcc.git
> Cannot obtain needed tree 52979cfc138789a17ec692b59dd239566b055e94
> while processing commit caacf4a76941db5eb611e9350da17f05447316a6.
> error: Fetch failed.

Please try the git protocol instead of http:
 git clone git://gcc.gnu.org/git/gcc.git gcc.git

-- 
Markus

Reply via email to