git submodule add <repository> <directory>
git pull --recurse-submodules
git submodule update --recursive
-
Remove submodule from
.gitmodules
-
Remove submodule from
.git/config
-
git rm --cached path
- do not include the trailing/
git submodule add <repository> <directory>
git pull --recurse-submodules
git submodule update --recursive
Remove submodule from .gitmodules
Remove submodule from .git/config
git rm --cached path
- do not include the trailing /