Remove a Submodule
How to remove a submodule from a git repository:
git rm <path-to-submodule>
rm -rf .git/modules/<path-to-submodule>
git config --remove-section submodule.<path-to-submodule>
See the full context in this Stack Overflow answer.
How to remove a submodule from a git repository:
git rm <path-to-submodule>
rm -rf .git/modules/<path-to-submodule>
git config --remove-section submodule.<path-to-submodule>
See the full context in this Stack Overflow answer.