Skip to content

Instantly share code, notes, and snippets.

@okovalov
Created January 20, 2020 14:59
Show Gist options
  • Save okovalov/91009ab9be1ee9eaded7878f0922e28f to your computer and use it in GitHub Desktop.
Save okovalov/91009ab9be1ee9eaded7878f0922e28f to your computer and use it in GitHub Desktop.
I think above can be simplified using following commands.
git submodule deinit <path_to_submodule>
git rm <path_to_submodule>
git commit-m "Removed submodule "
rm -rf .git/modules/<path_to_submodule>
taken from https://gist.github.com/myusuf3/7f645819ded92bda6677#gistcomment-3141323
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment