Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I tried to clone a git repository using the command:

git clone http://git.denx.de/cgi­bin/gitweb.cgi?p=u­boot.git;a=summary

but I got the error:

fatal: http://git.denx.de/cgi­bin/gitweb.cgi?p=u­boot.git/info/refs not found: did you run git update-server-info on the server?

share|improve this question
3  
The URI you want is this : git://git.denx.de/u-boot.git . Also, don't do development work as root. –  schaiba Feb 12 '13 at 18:34
    
@shaiba : don't see any evidence here that anyone is doing anything as root, git certainly does not require that. –  goldilocks Feb 12 '13 at 19:24
    
@goldilocks I removed it when I edited the post; it originally had the line "Initialized empty Git repository in /root/Desktop/gitweb.cgi?p=u­boot/.git/" –  Michael Mrozek Feb 12 '13 at 19:38

1 Answer 1

That error can happen if you give git a path that isn't a git repo. According to the homepage:

To clone one of these trees using Git type:

git clone git://git.denx.de/<project_name>  <your_repository_name>/

Cloning per HTTP is also supported (just replace git:// with http:// in the examples above). Note that native git transfer is much faster and more robust. Use HTTP only if you have no other choice.

And the project listed on that page is named "u-boot.git". So you want to do one of these:

git clone git://git.denx.de/u-boot.git
git clone http://git.denx.de/u-boot.git
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.