What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-26 10:44:02
remove submodule git
To remove a submodule you need to: Delete the relevant section from the .gitmodules file. Stage the .gitmodules changes git add .gitmodules Delete the relevant section from .git/config. Run git rm --cached path_to_submodule (no trailing slash). Run rm -r... Add solution
Best helpers
Ranking is empty