【发布时间】:2016-12-30 23:06:19
【问题描述】:
我试图从https://github.com/boostorg/boost/releases 下载 boost 版本,在下载该版本时,我看到它使用的子模块尚未初始化。这是故意的吗?
由于 boost 的所有相关代码都已被 beeb 模块化为 git 子模块,并且它们每个都维护在自己的 git repo 中。那么我怎样才能从 github 版本中获取子模块(或将子模块初始化为下载的代码)? Apparently the github git archive API does not support submodules for security reasons.
【问题讨论】:
-
替代解决方案 - 从 boost.org 获取存档,如果您想从 github 获取源代码,请使用
git clone --recursive -
@Praetorian 我知道 boost.org 发布链接,我只是好奇为什么 github 页面没有包含子模块的所有代码的版本:(
-
那么您期望这个问题的答案是什么?
-
@eis 我想问的问题是应该如何从 github 版本的 boost.js 中获取子模块。我不知道我是不是做错了什么
-
@Curious 但你知道吗?您自己链接到线程解释 github 版本不支持它们,并且 Praetorian 评论了替代解决方案。那么还有什么要回答的吗?