Git submodule
Do it correctly in the first place man
git checkout --recurse-submodules
Ok I forgot it, what do I do
if any submodule is never checked out
git submodule update --init --recursive
if submodules are previously checked out
git submodule update --recursive
I want to add a new submodule
git submodule add <submodule git url> <destination folder name>
git commit -m "Added a new submodule"
git push