Jacques René Mesrine
Jacques René Mesrine

Reputation: 47855

Given a GIT URI, how can I check it out?

In this Google IO 2009 presentation, a GIT url is provided in the slides. The URL looks like this

http://android.git.kernel.org/?p=platform/development.git;a=commit;
h=a42091afb7b122c753f9050ff5dbcb792eb36a78

I want to check out the code, so I ran

git clone http://android.git.....rest...of....URI.shown..above

But git is aborting with the error fatal: http://android.git.kernel.org/?p=platform/development.git/info/refs not found: did you run git update-server-info on the server. Am I doing anything wrong ?

Upvotes: 0

Views: 2089

Answers (1)

Koraktor
Koraktor

Reputation: 42943

The right URL should be git://android.git.kernel.org/platform/development.git as mentioned at the top of the web page your URL points to.

git clone git://android.git.kernel.org/platform/development.git

Upvotes: 3

Related Questions