2016-02-27 87 views

回答

0

他们没有锁定。他们是submodules

如果你想自动下载与子模块的存储库以及,运行此命令

git clone --recursive https://github.com/boostorg/boost 

如果您已经下载了没有子模块回购,运行

git submodule update --init --recursive 

注:这些命令将拉入所有的子模块。 更多关于专题here

+0

@ ar2015:['.gitmodules'](https://github.com/boostorg/boost/blob/master/.gitmodules)告诉你这些在哪里。在Boosts案例中,他们居住在[BoostOrg](https://github.com/boostorg)帐户中。 – sjaustirni

+0

例如https://github.com/boostorg/boost/blob/filesystem.git给出了一个404 – ashman

+0

@ashman:这是因为子模块不住在回购站中,而是存储库本身。正确的链接是https://github.com/boostorg/filesystem – sjaustirni