Last active
December 24, 2019 13:10
-
-
Save Himura2la/18c30d69d56ac7d48855851d5b5cf904 to your computer and use it in GitHub Desktop.
git submodule remove
This file contains hidden or 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
git config --global alias.submodule-remove '!git submodule deinit -f "${1%/}" && git rm --cached -f "${1%/}" && rm -rf ".git/modules/$1"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment