I'm trying to put a submodule into a repo.
(我正在尝试将子模块放入存储库中。)
The problem is that when I clone the parent repo, the submodule folder is entirely empty.(问题是当我克隆父仓库时,子模块文件夹完全为空。)
Is there any way to make it so that git clone parent_repo
actually puts data in the submodule folder?
(有什么方法可以使git clone parent_repo
实际上将数据放入子模块文件夹中吗?)
For example, http://github.com/cwolves/sequelize/tree/master/lib/ , nodejs-mysql-native
is pointing at an external git submodule, but when I checkout the sequelize
project, that folder is empty.
(例如, http : nodejs-mysql-native
指向外部git子模块,但是当我检出sequelize
项目时,该文件夹为空。)