[英]How to download(all) the source code from this site by using git?
我正在尝试使用以下方法从https://review.tizen.org/git/获取tizen的源代码:
git clone git://review.tizen.org/git
但是我得到:
fatal: The remote end hung up unexpectedly
如何解决这个问题? 该站点不是特定于git的地址。
您会在该链接上看到很多不同的项目。 因此您必须执行以下操作:
git clone git://review.tizen.org/git/tools/sbs.git
另外,我假设您具有正确的访问权限。 另外,您可能需要查看All-Projects.git
因为它具有一些您需要的配置和访问信息。
该位置似乎有多个项目,因此在进行克隆时请提及正确的项目存储库。
例如
假设您拥有适当的凭据,
git clone https://review.tizen.org/git/All-Projects.git
OR
git clone git://review.tizen.org/git/All-Projects.git
这会将All-projects.git
克隆到本地驱动器。
因为tizen的所有项目都很庞大,所以您最好选择一些有趣的子项目。
例如,我可以克隆ecore项目,例如:
$ git clone git://review.tizen.org/framework/uifw/ecore.git
您可以从https://review.tizen.org/git/查看涉及的项目
该网址不需要您设置帐户和上传Gerrit密钥
git clone https://git.tizen.org/cgit/Public-Projects.git
有关更多详细信息,请参见Tizen文档。 本质上,它使用repo一次下载所有项目。
https://source.tizen.org/documentation/developer-guide/getting-started-guide/cloning-tizen-source
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.