-
Notifications
You must be signed in to change notification settings - Fork 0
Shenanigans with submodules
Saul Pwanson edited this page Jul 29, 2017
·
3 revisions
git submodule add repository-url
When you clone a project with a subdirectory (initialise the submodule config file and fetches all of the data associated with the project):
git submodule update --init --recursive
- Delete the line referring to the submodule in the .gitmodules file.
- Delete the section referring to the submodule from .git/config.
git rm -cached module_path
- Commit
rm -rf module_path