Reputation: 45484
For example, I have a repo, and one subfolder is empty because the code from another repo goes there...
What command do I use so the submodule is retrieved and added in all locations of my local repo where submodules are needed?
Upvotes: 1
Views: 491
Reputation: 131931
git submodule update --init
or (when you didn't clone the repository yet)
git clone -i /path/to/parentRepo
have a look at
git submodule --help
Upvotes: 3