Skip to content

Instantly share code, notes, and snippets.

@evidex
evidex / Remove Submodule
Created October 29, 2015 12:18 — forked from kyleturner/Remove Submodule
How to remove a submodule from a Github project
To remove a submodule you need to:
Delete the relevant line from the .gitmodules file.
Delete the relevant section from .git/config.
Run git rm --cached path_to_submodule (no trailing slash).
Commit and delete the now untracked submodule files.