给定一个 GIT URI,我如何查看它?
在此 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
But git is aborting with the error fatal: http://android.git.kernel.org/?p=platform/development.git/info/refs 未找到:您运行 git 了吗服务器上的更新服务器信息。我做错了什么吗?
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 ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正确的 URL 应该是
git://android.git.kernel.org/platform/development.git
,如 URL 指向的网页顶部所述。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.