Skip to content

Instantly share code, notes, and snippets.

@shubhamagarwal92
Created July 17, 2019 20:27
Show Gist options
  • Save shubhamagarwal92/680f25027c95e842ca30d24e20a6fa8f to your computer and use it in GitHub Desktop.
Save shubhamagarwal92/680f25027c95e842ca30d24e20a6fa8f to your computer and use it in GitHub Desktop.
Remove submodules
git submodule deinit <path_to_submodule>
git rm <path_to_submodule>
git commit-m "Removed submodule "
rm -rf .git/modules/<path_to_submodule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment