Created
February 26, 2018 23:03
-
-
Save ofx/ff47bfce963c42455f9d08640712c85b to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
if [ "$1" != "" ]; then | |
git submodule deinit -f -- $1 | |
rm -rf .git/modules/$1 | |
git rm -f $1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment