2016-02-27 90 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