I am trying to put a submodule in a repo.
The problem is that when I clone the original repost, the submission folder is completely empty.
Is there any way to do that 'git clone parent' actually puts data in the submission folder?
Example:
nodejs-mysql-native
is pointing to an external git, but when I type the sequelize
project, That folder is empty ...
with version 1.9 GIT and later, you can Also download submodules simultaneously:
git clone --recursive -j8 git: //github.com/foo/bar.git CD bar
Editor's note: Together In this case it means: parallel ; That is, -88
is an optional optimization that reaches 8 submutes in parallel - see man git-clone
.
With version 1.6.5 GIT and later, you can use it:
git clone --recursive git: // github. Com / foo / bar.git CD Bar
For a pre-cloned repo or old GIT version, just use:
git clone git : //github.com/foo/bar.git CD Bar GIT Subdomod Update --init --recursive
Comments
Post a Comment