克隆兄弟项目

时间:2016-05-06 17:54:20

标签: git github

出于好奇,我检查了位于GitHub上的supertux的源代码,并克隆了它(git clone https://github.com/SuperTux/supertux.git)。

克隆操作后,我注意到datatranslation文件夹为空。当我检查GitHub页面时,它们都是在同一组织下的兄弟项目的某种重定向。

我找不到任何方法来正确克隆这两个空兄弟项目。

这是什么?如何用最少量的命令克隆所有内容?

2 个答案:

答案 0 :(得分:1)

git submodule init
git submodule update

答案 1 :(得分:1)

这个项目有子模块。使用 - 递归选项进行完整克隆 git clone --recursive https://github.com/SuperTux/supertux.git

或克隆后:

git submodule init
git submodule update

相关问题