代码之家  ›  专栏  ›  技术社区  ›  Jacques René Mesrine

给定一个Git-uri,我如何检查它?

  •  0
  • Jacques René Mesrine  · 技术社区  · 16 年前

    this Google IO 2009演示文稿,幻灯片中提供了Git URL。 URL如下所示

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

    我想检查代码,所以我跑了

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

    但Git因错误而中止 致命的: http://android.git.kernel.org/?p=platform/development.git/info/refs 找不到:是否在服务器上运行了git update服务器信息? . 我做错什么了吗?

    1 回复  |  直到 8 年前
        1
  •  3
  •   Koraktor    16 年前

    正确的URL应该是 git://android.git.kernel.org/platform/development.git 正如在网页顶部提到的,您的URL指向。

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