Remove a git submodule
Place git-remove-submodule
in your $PATH
and ensure it has executable permissions.
git remove-submodule path/to/submodule
Note that relative paths are interpreted as starting from the root of the git repository, and not the current working-directory.