Preface
I came across a warehouse with files like this:
Clone a repository with Submodule
Clone the entire project:
git clone 你要克隆的项目
cd 你克隆了的项目
git submodule // 查看submodule的状态
>-一串hash码 文件目录
The minus sign in front means:
The submodule has not been checked out
So to check out the submodule:
git submodule init
>Submodule ...
git submodule update
>Cloning into ...