Skip to content

Instantly share code, notes, and snippets.

@buddhamagnet
Last active October 25, 2018 15:11
Show Gist options
  • Save buddhamagnet/50f4cac7f3bf5304ff1cba040c867c21 to your computer and use it in GitHub Desktop.
Save buddhamagnet/50f4cac7f3bf5304ff1cba040c867c21 to your computer and use it in GitHub Desktop.
git-drop-submodule
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