NOTES
Remove a Git submodule
This is certainly a lot more involved than one would imagine.
The following assumes that the submodule is MODULE/TO-REMOVE:
- Delete the relevant section from
.gitmodules git add .gitmodules- Delete the relevant section from
.git/config git rm --cached MODULE/TO-REMOVErm -rf .git/modules/MODULE/TO-REMOVErm -rf MODULE/TO-REMOVEgit add .git commitgit push