HowTo remove git submodule
- Delete the relevant section from the .gitmodules file.
- Delete the relevant section from .git/config.
- Run git rm --cached pathtosubmodule (no trailing slash).
- Commit and delete the now untracked submodule files.
Written by Andrejs Cernikovs
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#N
Authors
Related Tags
#n
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#