Android 给定一个GIT URI,我如何检查它?
在Google IO 2009演示文稿中,幻灯片中提供了GIT url。 URL如下所示Android 给定一个GIT URI,我如何检查它?,android,git,android-source,Android,Git,Android Source,在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;a=commit;
h=a42091afb7b122c753f9050ff5dbcb792eb36a78
我想检查代码,所以我运行了
git clone http://android.git.....rest...of....URI.shown..above
但是git正在中止,错误为致命:未找到:您是否在服务器上运行了git update server info。我做错了什么吗?正确的URL应该是
git://android.git.kernel.org/platform/development.git
如您的URL指向的网页顶部所述
git clone git://android.git.kernel.org/platform/development.git
正确的URL应该是
git://android.git.kernel.org/platform/development.git
如您的URL指向的网页顶部所述
git clone git://android.git.kernel.org/platform/development.git
这是gitweb(gitweb接口)URL,而不是存储库URL。您应该在项目摘要页面中为“git clone
”使用URL,因为@Koraktor wrote这是gitweb(git web界面)URL,而不是存储库URL。正如@Koraktor所写,您应该在项目摘要页面中有用于“git clone
”的URL