Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- To remove a submodule you need to:
- - Delete the relevant section from the `.gitmodules` file.
- - Delete the relevant section from `.git/config`.
- - Run `git rm --cached path_to_submodule` (no trailing slash).
- - Run e.g. `rm -rf .git/modules/path_to_submodule` (no trailing slash).
- - Delete the now untracked submodule files e.g. `rm -rf path_to_submodule`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement