Created
August 19, 2021 22:10
-
-
Save npanuhin/dd0d059188af6b8d5f25927dbc0fc732 to your computer and use it in GitHub Desktop.
Remove Git Submodule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set submodule_path=%1 | |
git submodule deinit -f "%submodule_path%" | |
rmdir /S /Q ".git/modules/%submodule_path%" | |
git rm -f "%submodule_path%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment