Skip to content

Instantly share code, notes, and snippets.

@songpon
Last active November 27, 2019 04:35
Show Gist options
  • Save songpon/7344962aa968509ca0e3e89dcec8550e to your computer and use it in GitHub Desktop.
Save songpon/7344962aa968509ca0e3e89dcec8550e to your computer and use it in GitHub Desktop.
git submodule deinit <path_to_submodule>
git rm <path_to_submodule>
git commit -m "Removed submodule xxxx"
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